mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-27 04:07:39 +00:00
fix
This commit is contained in:
+2
-4
@@ -4685,11 +4685,9 @@ void Mob::Stun(int duration)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if(IsValidSpell(casting_spell_id) && !spells[casting_spell_id].uninterruptable) {
|
if(IsValidSpell(casting_spell_id) && !spells[casting_spell_id].uninterruptable) {
|
||||||
int persistent_casting = spellbonuses.PersistantCasting + itembonuses.PersistantCasting;
|
int persistent_casting = spellbonuses.PersistantCasting + itembonuses.PersistantCasting + aabonuses.PersistantCasting;
|
||||||
if(IsClient())
|
|
||||||
persistent_casting += aabonuses.PersistantCasting;
|
|
||||||
|
|
||||||
if(MakeRandomInt(1,99) > persistent_casting)
|
if(MakeRandomInt(0,99) > persistent_casting)
|
||||||
InterruptSpell();
|
InterruptSpell();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user