Core/Spells: Fixed spell effect value truncation when value is a large integer

Port From (https://github.com/TrinityCore/TrinityCore/commit/2d205506bfd3a2bb253db73b121fd147928811ba)
This commit is contained in:
hondacrx
2022-12-28 15:31:42 -05:00
parent 989b80b056
commit 3fcafdfa80
3 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -1827,7 +1827,7 @@ namespace Game.Entities
return spellInfo.GetMinRange(!IsHostileTo(target));
}
public float ApplyEffectModifiers(SpellInfo spellInfo, uint effIndex, float value)
public double ApplyEffectModifiers(SpellInfo spellInfo, uint effIndex, double value)
{
Player modOwner = GetSpellModOwner();
if (modOwner != null)