The effect is not getting destroyed and I can't think of why this wouldn't work?
-
Immolation
-
Events
- Time - Every 1.00 seconds of game time
-
Conditions
- (Lord of the Seven 0141 <gen> is alive) Equal to True
-
Actions
- Set unit = Lord of the Seven 0141 <gen>
- Set int = ((Level of (Illidan) Immolation for unit) - 1)
- Set tempLoc = (Position of unit)
- Set calcedDmg = (Illi_immoDmg[int] + (((Max life of unit) - (Life of unit)) x Illi_immoPercentDmg[int]))
- Set unitGrp = (Units within Illi_immoRadius[int] of tempLoc matching (((Matching unit) belongs to an enemy of (Owner of unit)) Equal to True))
- Custom script: call RemoveLocation(udg_tempLoc)
-
Unit Group - Pick every unit in unitGrp and do (Actions)
-
Loop - Actions
- Custom script: local effect udg_tempEffect
- Unit - Cause unit to damage (Picked unit), dealing calcedDmg damage of attack type Spells and damage type Enhanced
- Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\NightElf\Immolation\ImmolationDamage.mdl
- Set tempEffect = (Last created special effect)
- Wait 1.00 seconds
- Special Effect - Destroy tempEffect
-
Loop - Actions
- Custom script: call DestroyGroup(udg_unitGrp)
-
Events