mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 07:21:48 +00:00
fix
This commit is contained in:
parent
92a1abbbee
commit
aab3cac29c
@ -6468,6 +6468,6 @@ void Mob::CalcSpellPowerDistanceMod(uint16 spell_id, float range, Mob* caster)
|
|||||||
float mod = spells[spell_id].min_dist_mod + (dist_from_min * (dm_mod_interval/dm_range));
|
float mod = spells[spell_id].min_dist_mod + (dist_from_min * (dm_mod_interval/dm_range));
|
||||||
mod *= 100.0f;
|
mod *= 100.0f;
|
||||||
|
|
||||||
SetSpellPSetSpellPowerDistanceMod(static_cast<int>(mod));
|
SetSpellPowerDistanceMod(static_cast<int>(mod));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user