*Apply tenacity buff on vehicles of wintergrasp.

*Fix the bug that tenacity is not applied on horde players.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-05 14:21:25 -05:00
parent afd79d7ebf
commit 13fd9ea601
5 changed files with 80 additions and 14 deletions

View File

@@ -40,9 +40,9 @@ bool GossipSelect_npc_demolisher_engineerer(Player* player, Creature* me, uint32
player->CLOSE_GOSSIP_MENU();
switch(uiAction - GOSSIP_ACTION_INFO_DEF)
{
case 0: player->CastSpell(player, 56663, false); break;
case 1: player->CastSpell(player, 56575, false); break;
case 2: player->CastSpell(player, player->GetTeamId() ? 61408 : 56661, false); break;
case 0: player->CastSpell(player, 56663, false, NULL, NULL, me->GetGUID()); break;
case 1: player->CastSpell(player, 56575, false, NULL, NULL, me->GetGUID()); break;
case 2: player->CastSpell(player, player->GetTeamId() ? 61408 : 56661, false, NULL, NULL, me->GetGUID()); break;
}
return true;