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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
}
}
});