mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-20 12:42:26 +00:00
Add Casting Restrictions to SE_CurrentHP (DoTs) buff processing
This commit is contained in:
parent
e7184f402d
commit
63ae7ac315
@ -3433,6 +3433,8 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
|
||||
|
||||
switch (effect) {
|
||||
case SE_CurrentHP: {
|
||||
if (!PassCastRestriction(false, spells[buff.spellid].base2[i], true))
|
||||
break;
|
||||
effect_value = CalcSpellEffectValue(buff.spellid, i, buff.casterlevel, buff.instrument_mod,
|
||||
caster, buff.ticsremaining);
|
||||
// Handle client cast DOTs here.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user