aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeston <treeston.mmoc@gmail.com>2019-08-02 18:06:57 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-17 23:57:18 +0100
commit87786b1ebc37723702a1823a9437bed4e7186bb1 (patch)
tree3de60f313ae996e2afd7c90947861fc3844b2372 /src
parent92fc09b1b5507c11c9e7ca63e6de0ec7574f0810 (diff)
Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????
(cherry picked from commit c444cb17e10e118e704012e23c86e1b47f94031b)
Diffstat (limited to 'src')
-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 0d3828e7855..7791e9c0ae7 100644
--- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
+++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/hyjal.cpp
@@ -58,7 +58,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);
@@ -136,7 +135,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);
@@ -151,7 +149,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:
@@ -216,7 +214,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