Fixed Mob::CalcFocusEffect()'s SE_LimitEffect

This commit is contained in:
Michael Cook
2013-11-15 01:17:27 -05:00
parent 983ee2d39b
commit a40a34d2e8
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -4279,7 +4279,7 @@ int16 Mob::CalcFocusEffect(focusType type, uint16 focus_id, uint16 spell_id, boo
case SE_LimitEffect:
if(focus_spell.base[i] < 0){
if(IsEffectInSpell(spell_id,focus_spell.base[i])){ //we limit this effect, can't have
if(IsEffectInSpell(spell_id,(focus_spell.base[i] * -1))){ //we limit this effect, can't have
return 0;
}
}