mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-07 18:43:52 +00:00
Fix SE_CastOnFadeEffect
This commit is contained in:
parent
e86d11250b
commit
4b93ef0a98
@ -3668,10 +3668,11 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
|
||||
break;
|
||||
}
|
||||
// These effects always trigger when they fade.
|
||||
// Should we have this triggered from else where?
|
||||
case SE_CastOnFadeEffect:
|
||||
case SE_CastOnFadeEffectNPC:
|
||||
case SE_CastOnFadeEffectAlways: {
|
||||
if (buff.ticsremaining == 1) {
|
||||
if (buff.ticsremaining == 0) {
|
||||
SpellOnTarget(spells[buff.spellid].base[i], this);
|
||||
}
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user