Scripts/Trial Of The Crusader: Fixed Anub'arak Pursuing Spikes movement (#24715)

This commit is contained in:
Gildor
2020-05-30 13:50:33 +02:00
committed by GitHub
parent f7ac6296b6
commit 6c1a874e57

View File

@@ -370,7 +370,6 @@ class boss_anubarak_trial : public CreatureScript
break;
}
case EVENT_EMERGE:
events.ScheduleEvent(EVENT_SUBMERGE, 80*IN_MILLISECONDS, 0, PHASE_MELEE);
DoCast(SPELL_SPIKE_TELE);
summons.DespawnEntry(NPC_SPIKE);
me->RemoveAurasDueToSpell(SPELL_SUBMERGE_ANUBARAK);
@@ -825,8 +824,7 @@ class npc_anubarak_spike : public CreatureScript
me->GetThreatManager().ResetAllThreat();
DoZoneInCombat();
AddThreat(who, 1000000.0f);
me->GetMotionMaster()->Clear();
me->GetMotionMaster()->MoveChase(who);
AttackStart(who);
}
private: