fix(Scripts/ZulAman): Hexlord: missing update to last commit (#20663)

* fix(Scripts/ZulAman): Hexlord: missing update to last commit

* Update boss_hexlord.cpp
This commit is contained in:
Andrew
2024-11-20 18:33:19 -03:00
committed by GitHub
parent 57f9cecbd9
commit bda74c14b8

View File

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