fix(Scripts/TempleOfAhnQiraj): Fix Digestive Acid not being applied t… (#13870)

fix(Scripts/TempleOfAhnQiraj): Fix Digestive Acid not being applied to players under certain circumstances
This commit is contained in:
Skjalf
2022-11-20 19:23:29 -03:00
committed by GitHub
parent e0803fb0cb
commit 42c4c293bd

View File

@@ -449,9 +449,13 @@ struct boss_cthun : public BossAI
target->m_Events.AddEventAtOffset([target, this]()
{
DoCast(target, SPELL_DIGESTIVE_ACID, true);
DoTeleportPlayer(target, STOMACH_X, STOMACH_Y, STOMACH_Z, STOMACH_O);
target->RemoveAurasDueToSpell(SPELL_MIND_FLAY);
target->m_Events.AddEventAtOffset([target, this]()
{
DoCast(target, SPELL_DIGESTIVE_ACID, true);
}, 2s);
}, 3800ms);
}