fix(Scripts/ZulAman): Fix Soul Siphon visual effect (#20765)

This commit is contained in:
Andrew
2024-11-29 09:32:49 -03:00
committed by GitHub
parent d8123cbc37
commit a22403356c

View File

@@ -274,7 +274,7 @@ struct boss_hexlord_malacrass : public BossAI
siphonTrigger->SetDisplayId(11686);
siphonTrigger->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
siphonTrigger->AI()->DoCast(target, SPELL_SIPHON_SOUL, true);
siphonTrigger->GetMotionMaster()->MoveChase(me);
siphonTrigger->GetMotionMaster()->MoveFollow(me, 0.0f, 0.0f);
if (Player* player = target->ToPlayer())
_currentClass = player->HasAura(AURA_SHADOW_FORM) ? uint8(ADDITIONAL_CLASS_SPRIEST) : player->getClass();
}