Fix the math so berserkers aren't left out in spell related checks.

This commit is contained in:
Natedog2012 committed 2016-02-11 13:10:22 -08:00
1 parent a14b3117e9
commit 31b6346f03
6 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -5117,7 +5117,7 @@ int8 Mob::GetDecayEffectValue(uint16 spell_id, uint16 spelleffect) {
if (!IsValidSpell(spell_id))
return false;
int spell_level = spells[spell_id].classes[(GetClass()%16) - 1];
int spell_level = spells[spell_id].classes[(GetClass()%17) - 1];
int effect_value = 0;
int lvlModifier = 100;