diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp index 0a947afaa2..d10d7725e2 100644 --- a/src/server/scripts/Spells/spell_generic.cpp +++ b/src/server/scripts/Spells/spell_generic.cpp @@ -3287,7 +3287,7 @@ class spell_gen_gift_of_naaru : public SpellScriptLoader } int32 healTick = floor(heal / aurEff->GetTotalTicks()); - amount += int32(std::max(heal, 0.0f)); + amount += int32(std::max(healTick, 0)); } void Register()