Core/Battlefield: correct wintergrasp faction for horde (thx kirkita), added grab passenger spell as per sniffs.

This commit is contained in:
Kandera
2012-08-20 13:51:58 -04:00
parent 17e2c3a800
commit 9dd3789719
4 changed files with 36 additions and 2 deletions
@@ -563,6 +563,8 @@ void BattlefieldWG::OnCreatureCreate(Creature* creature)
return;
}
}
if (creature->GetOwner())
creature->CastSpell(creature->GetOwner(),SPELL_GRAB_PASSENGER,true);
break;
}
}
@@ -29,7 +29,7 @@
const uint32 VehNumWorldState[2] = { 3680, 3490 };
const uint32 MaxVehNumWorldState[2] = { 3681, 3491 };
const uint32 ClockWorldState[2] = { 3781, 4354 };
const uint32 WintergraspFaction[3] = { 1, 116, 35 };
const uint32 WintergraspFaction[3] = { 1, 2, 35 };
const float WintergraspStalkerPos[4] = { 0, 0, 0, 0 };
class BattlefieldWG;
@@ -59,6 +59,7 @@ enum WintergraspSpells
SPELL_GREATEST_HONOR = 58557,
SPELL_ALLIANCE_FLAG = 14268,
SPELL_HORDE_FLAG = 14267,
SPELL_GRAB_PASSENGER = 61178,
// Reward spells
SPELL_VICTORY_REWARD = 56902,