aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-08-02 18:06:57 +0200
committerTreeston <treeston.mmoc@gmail.com>2019-08-02 18:06:57 +0200
commitc444cb17e10e118e704012e23c86e1b47f94031b (patch)
tree5f46407b8d0b5e96b019fd54fe631c2306b83106
parenta0f8ce14e9a7aeceea035a733625cc695909a5bd (diff)
Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????
-rw-r--r--src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
index 5c07dea4ab9..c63ebbc39af 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
@@ -59,7 +59,6 @@ class npc_jaina_proudmoore : public CreatureScript
npc_jaina_proudmooreAI(Creature* creature) : hyjalAI(creature)
{
Reset();
- EnterEvadeMode();
Spells[0].SpellId = SPELL_BLIZZARD;
Spells[0].Cooldown = urand(15000, 35000);
@@ -137,7 +136,6 @@ class npc_thrall : public CreatureScript
npc_thrallAI(Creature* creature) : hyjalAI(creature)
{
Reset();
- EnterEvadeMode();
Spells[0].SpellId = SPELL_CHAIN_LIGHTNING;
Spells[0].Cooldown = urand(3000, 8000);
@@ -152,7 +150,7 @@ class npc_thrall : public CreatureScript
{
uint32 const action = player->PlayerTalkClass->GetGossipOptionAction(gossipListId);
ClearGossipMenuFor(player);
- DeSpawnVeins();//despawn the alliance veins
+ DeSpawnVeins(); //despawn the alliance veins
switch (action)
{
case GOSSIP_ACTION_INFO_DEF + 1:
@@ -217,7 +215,6 @@ class npc_tyrande_whisperwind : public CreatureScript
npc_tyrande_whisperwindAI(Creature* creature) : hyjalAI(creature)
{
Reset();
- EnterEvadeMode();
}
bool GossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override