Skip to content

Commit

Permalink
fix: Update ModifyPeriodicDamageAurasTick() after latest changes (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Dec 24, 2022
1 parent 442956b commit 1d82080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutoBalance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ class AutoBalance_UnitScript : public UnitScript
return _Modifer_DealDamage(playerVictim, AttackerUnit, damage);
}

void ModifyPeriodicDamageAurasTick(Unit* target, Unit* attacker, uint32& damage) override
void ModifyPeriodicDamageAurasTick(Unit* target, Unit* attacker, uint32& damage, SpellInfo const* /*spellInfo*/) override
{
damage = _Modifer_DealDamage(target, attacker, damage);
}
Expand Down

0 comments on commit 1d82080

Please sign in to comment.