mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
fix
This commit is contained in:
+2
-4
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user