mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +00:00
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:
@@ -449,9 +449,13 @@ struct boss_cthun : public BossAI
|
|||||||
|
|
||||||
target->m_Events.AddEventAtOffset([target, this]()
|
target->m_Events.AddEventAtOffset([target, this]()
|
||||||
{
|
{
|
||||||
DoCast(target, SPELL_DIGESTIVE_ACID, true);
|
|
||||||
DoTeleportPlayer(target, STOMACH_X, STOMACH_Y, STOMACH_Z, STOMACH_O);
|
DoTeleportPlayer(target, STOMACH_X, STOMACH_Y, STOMACH_Z, STOMACH_O);
|
||||||
target->RemoveAurasDueToSpell(SPELL_MIND_FLAY);
|
target->RemoveAurasDueToSpell(SPELL_MIND_FLAY);
|
||||||
|
|
||||||
|
target->m_Events.AddEventAtOffset([target, this]()
|
||||||
|
{
|
||||||
|
DoCast(target, SPELL_DIGESTIVE_ACID, true);
|
||||||
|
}, 2s);
|
||||||
}, 3800ms);
|
}, 3800ms);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user