Skip to content

Commit

Permalink
fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unab… (
Browse files Browse the repository at this point in the history
azerothcore#18732)

fix(Scripts/Hyjal): Fix Mark of Kazrogal not dealing damage when unable to drain mana
  • Loading branch information
Nyeriah authored Apr 13, 2024
1 parent 6add782 commit cdc7221
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class spell_mark_of_kazrogal : public SpellScriptLoader
{
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
Expand Down

0 comments on commit cdc7221

Please sign in to comment.