From b7be8fb6257500dd3f5c5ee42ae1a71bca33d2e2 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Fri, 8 Aug 2014 15:53:53 -0400 Subject: [PATCH] fix --- zone/spells.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zone/spells.cpp b/zone/spells.cpp index e9d3eb55a..b7b5dd169 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -4685,11 +4685,9 @@ void Mob::Stun(int duration) return; if(IsValidSpell(casting_spell_id) && !spells[casting_spell_id].uninterruptable) { - int persistent_casting = spellbonuses.PersistantCasting + itembonuses.PersistantCasting; - if(IsClient()) - persistent_casting += aabonuses.PersistantCasting; + int persistent_casting = spellbonuses.PersistantCasting + itembonuses.PersistantCasting + aabonuses.PersistantCasting; - if(MakeRandomInt(1,99) > persistent_casting) + if(MakeRandomInt(0,99) > persistent_casting) InterruptSpell(); }