mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 18:07:16 +00:00
Support for spells_new field 'uninterruptable'
This commit is contained in:
1 parent
aab3cac29c
commit
2aec190afc
3 files changed
+4
-4
No files matched your search
@@ -2711,7 +2711,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
||||
if (buffslot >= 0)
|
||||
break;
|
||||
|
||||
if(IsCasting() && MakeRandomInt(0, 100) <= spells[spell_id].base[i])
|
||||
if(!spells[spell_id].uninterruptable && IsCasting() && MakeRandomInt(0, 100) <= spells[spell_id].base[i])
|
||||
InterruptSpell();
|
||||
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user