void Reset() { Intro = true; Next = 0; Add1GUID = 0; Add2GUID = 0; IntroTimer = 20000; Holy_Light_Timer = 30000; Cleanse_Timer = 10000; HammerOfJustice_Timer = 60000; HolyShield_Timer = 240000; DevotionAura_Timer = 3000; Consecration_Timer = 8000; me->SetReactState(REACT_PASSIVE); me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); me->Mount(SKARLOC_MOUNT_MODEL); SummonGuards(); me->GetMotionMaster()->MovePoint(0, 2047.90f, 254.85f, 62.822f); if (Creature *Thrall = (Creature*)(Unit::GetUnit((*me), pInstance->GetData64(DATA_THRALL)))) ThrallinGUID = Thrall->GetGUID(); else if (Creature* Thrall = me->FindNearestCreature(17876, 100.0f, true)) ThrallinGUID = Thrall->GetGUID(); }
void InitializeAI() override { if (!me->isDead()) { Reset(); SummonGuards(); } }
void InitializeAI() override { if (!me->isDead() && instance->GetBossState(BOSS_ANUBREKHAN) != DONE) { Reset(); SummonGuards(); } }
void JustReachedHome() override { _JustReachedHome(); SummonGuards(); }