mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-07 17:22:26 +00:00
Fix for a few of the Cast on Fade effects to make sure the trigger spell
hits the correct target type.
This commit is contained in:
parent
fe57e4d924
commit
2d20d5858e
@ -3659,7 +3659,7 @@ void Mob::DoBuffTic(const Buffs_Struct &buff, int slot, Mob *caster)
|
|||||||
case SE_CastOnFadeEffectNPC:
|
case SE_CastOnFadeEffectNPC:
|
||||||
case SE_CastOnFadeEffectAlways: {
|
case SE_CastOnFadeEffectAlways: {
|
||||||
if (buff.ticsremaining == 0) {
|
if (buff.ticsremaining == 0) {
|
||||||
SpellOnTarget(spells[buff.spellid].base[i], this);
|
SpellFinished(spells[buff.spellid].base[i], this, EQEmu::CastingSlot::Item, 0, -1, spells[spells[buff.spellid].base[i]].ResistDiff);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user