mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-17 13:52:25 +00:00
fix
This commit is contained in:
parent
2aec190afc
commit
b7be8fb625
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user