this was flawed as it would trigger if you cured the debuff... however I moved the code out to the dobufftic function.
spell effects.cpp - line 3297 - add this
Code:
case SE_ImprovedSpellEffect:
case SE_BossSpellTrigger:
case SE_CastOnWearoff:
{
if (ticsremaining == 1)
{
SpellOnTarget(spells[spell_id].base[i], this);
}
break;
}
Seems to work as intended now.