mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Scripts/TempleOfAhnQiraj): Despawn Eye of Cthun once encounter is… (#13336)
...done
This commit is contained in:
@@ -314,6 +314,7 @@ struct boss_eye_of_cthun : public BossAI
|
||||
}
|
||||
|
||||
DoCastSelf(SPELL_DARK_GLARE);
|
||||
|
||||
++DarkGlareTick;
|
||||
|
||||
if (tasker.GetRepeatCounter() >= 35)
|
||||
@@ -534,6 +535,11 @@ struct boss_cthun : public BossAI
|
||||
{
|
||||
pPortal->DespawnOrUnsummon();
|
||||
}
|
||||
|
||||
if (Creature* eye = instance->GetCreature(DATA_EYE_OF_CTHUN))
|
||||
{
|
||||
eye->DespawnOrUnsummon();
|
||||
}
|
||||
}
|
||||
|
||||
void SummonedCreatureDies(Creature* creature, Unit* /*killer*/) override
|
||||
@@ -560,7 +566,7 @@ struct boss_cthun : public BossAI
|
||||
ScheduleTasks();
|
||||
//Remove purple coloration
|
||||
me->RemoveAurasDueToSpell(SPELL_PURPLE_COLORATION);
|
||||
|
||||
DoCastSelf(SPELL_CARAPACE_CTHUN, true);
|
||||
//Spawn flesh tentacle
|
||||
for (uint8 i = 0; i < 2; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user