mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Scripts/Hyjal): fatal error: comparison of integers of different signs (#18755)
* fix. fatal error: comparison of integers of different signs * Update src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/boss_kazrogal.cpp --------- Co-authored-by: Andrew <47818697+Nyeriah@users.noreply.github.com>
This commit is contained in:
@@ -161,7 +161,7 @@ public:
|
|||||||
{
|
{
|
||||||
Unit* target = GetTarget();
|
Unit* target = GetTarget();
|
||||||
|
|
||||||
if (target->GetPower(POWER_MANA) < aurEff->GetBaseAmount())
|
if ((int32)target->GetPower(POWER_MANA) < aurEff->GetBaseAmount())
|
||||||
{
|
{
|
||||||
target->CastSpell(target, SPELL_MARK_DAMAGE, true, nullptr, aurEff);
|
target->CastSpell(target, SPELL_MARK_DAMAGE, true, nullptr, aurEff);
|
||||||
// Remove aura
|
// Remove aura
|
||||||
|
|||||||
Reference in New Issue
Block a user