Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????

(cherry picked from commit c444cb17e1)
This commit is contained in:
Treeston
2019-08-02 18:06:57 +02:00
committed by Shauren
parent 92fc09b1b5
commit 87786b1ebc

View File

@@ -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