Scripts/Spells: Refactor spell script internals to fix -Wcast-function-type-mismatch warning

This commit is contained in:
Shauren
2025-08-16 15:31:10 +02:00
parent 7fe0d4a81c
commit de80c713d0
18 changed files with 472 additions and 945 deletions
+1 -1
View File
@@ -5578,7 +5578,7 @@ class spell_gen_no_npc_damage_below_override : public AuraScript
public:
spell_gen_no_npc_damage_below_override(float healthPct) : _healthPct(healthPct) {}
static void CalculateAmount(AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/)
static void CalculateAmount(AuraScript const&, AuraEffect const* /*aurEff*/, int32& amount, bool& /*canBeRecalculated*/)
{
amount = -1;
}