mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 19:06:49 +01:00
Scripts/Hyjal: Seriously, who calls EnterEvadeMode in a AI constructor????
(cherry picked from commit c444cb17e1)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user