From c03a50bb45d4e72806f32628ee17d3f3f17d8e77 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Fri, 30 Jul 2021 13:46:23 -0400 Subject: [PATCH] fixed missing break statements fixed missing break statements --- zone/spell_effects.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 5cf9a3beb..ab534acc8 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -5282,28 +5282,34 @@ int16 Mob::CalcFocusEffect(focusType type, uint16 focus_id, uint16 spell_id, boo case SE_Ff_Endurance_Min: if (spell.EndurCost < focus_spell.base[i]) return 0; + break; case SE_Ff_Endurance_Max: if (spell.EndurCost > focus_spell.base[i]) return 0; + break; case SE_Ff_ReuseTimeMin: if (spell.recast_time < focus_spell.base[i]) return 0; + break; case SE_Ff_ReuseTimeMax: if (spell.recast_time > focus_spell.base[i]) return 0; + break; case SE_Ff_Value_Min: index_id = GetSpellEffectIndex(spell_id, focus_spell.base2[i]); if (index_id >= 0 && spell.base[index_id] < focus_spell.base[i]) return 0; + break; case SE_Ff_Value_Max: index_id = GetSpellEffectIndex(spell_id, focus_spell.base2[i]); if (index_id >= 0 && spell.base[index_id] > focus_spell.base[i]) return 0; + break; // handle effects case SE_ImprovedDamage: