View Single Post
  #4  
Old 07-08-2010, 02:55 AM
Caryatis
Dragon
 
Join Date: May 2009
Location: Milky Way
Posts: 539
Default

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.
Reply With Quote