From a40a34d2e8197d07f1ab87856a0b88e99f09105a Mon Sep 17 00:00:00 2001 From: Michael Cook Date: Fri, 15 Nov 2013 01:17:27 -0500 Subject: [PATCH] Fixed Mob::CalcFocusEffect()'s SE_LimitEffect --- changelog.txt | 3 +++ zone/spell_effects.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index 1a551977a..b0ad2df81 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ EQEMu Changelog (Started on Sept 24, 2003 15:50) ------------------------------------------------------- +== 11/15/2013 == +demonstar55: Fixed Mob::CalcFocusEffect()'s SE_LimitEffect + == 11/13/2013 == demonstar55: Implemented bard song effect cap. You can set the base cap with the rule Character:BaseInstrumentSoftCap, defaults to 36 or "3.6" as it is sometimes referred to. demonstar55: Fix Echo of Taelosia and Ayonae's Tutelage to increase the mod cap instead of further improving the instrument mod diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index ba4200119..18e08030b 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -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; } }