fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unab… (#18732)

fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unable to drain mana
This commit is contained in:
Andrew
2024-04-13 12:15:20 -03:00
committed by GitHub
parent 6add782f1d
commit cdc72216c8

View File

@@ -160,7 +160,7 @@ public:
{
Unit* target = GetTarget();
if (target->GetPower(POWER_MANA) == 0)
if (target->GetPower(POWER_MANA) < aurEff->GetBaseAmount())
{
target->CastSpell(target, SPELL_MARK_DAMAGE, true, nullptr, aurEff);
// Remove aura