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