mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-17 13:52:25 +00:00
Calc fix for spell power distance mod effect.
This commit is contained in:
parent
b50f660339
commit
616e13acac
@ -202,7 +202,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
||||
effect_value = GetMaxHP();
|
||||
|
||||
if (GetSpellPowerDistanceMod())
|
||||
effect_value = effect_value*(GetSpellPowerDistanceMod()/100);
|
||||
effect_value = effect_value*GetSpellPowerDistanceMod()/100;
|
||||
|
||||
#ifdef SPELL_EFFECT_SPAM
|
||||
effect_desc[0] = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user