mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
Update SE_InterruptCasting: Will now work for instant spells (as well as over time).
This commit is contained in:
parent
8cdcd189f5
commit
705ffa89bc
@ -10,6 +10,7 @@ Kayen: Implemented SE_LimitSpellClass - Focus Limits spell to pre defined catego
|
||||
Kayen: Changed SE_LimitMaxMana to SE_MeleeVulnerability - Weakness/Mitigation verse melee damage
|
||||
(Despite lives SPA lable as the former it clearly is not what the effect does from all spell examples)
|
||||
Kayen: Updated SE_BardAEDot to no longer damage target while target is moving (consistent with live)
|
||||
Kayen: Update SE_InterruptCasting: Will now work for instant spells (as well as over time).
|
||||
|
||||
== 06/25/2014 ==
|
||||
Kayen: Updated SE_Hate (Renamed from SE_Hate2) to now properly work for instant +/- hate spells.
|
||||
|
||||
@ -2712,6 +2712,16 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
||||
break;
|
||||
}
|
||||
|
||||
case SE_InterruptCasting:{
|
||||
if (buffslot >= 0)
|
||||
break;
|
||||
|
||||
if(IsCasting() && MakeRandomInt(0, 100) <= spells[spell_id].base[i])
|
||||
InterruptSpell();
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
case SE_MassGroupBuff:{
|
||||
|
||||
SetMGB(true);
|
||||
@ -2854,7 +2864,6 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
|
||||
case SE_ApplyEffect:
|
||||
case SE_FcTwincast:
|
||||
case SE_DelayDeath:
|
||||
case SE_InterruptCasting:
|
||||
case SE_CastOnFadeEffect:
|
||||
case SE_CastOnFadeEffectNPC:
|
||||
case SE_CastOnFadeEffectAlways:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user