mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 00:02:17 +00:00
Fixed Mob::CalcFocusEffect()'s SE_LimitEffect
This commit is contained in:
1 parent
983ee2d39b
commit
a40a34d2e8
2 files changed
+4
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user