Fire Totem Die
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Fire Totem
Actions
Set FT_DummyLoc = (Position of FT_Dummy)
Set FT_Group = (Units within 300.00 of FT_DummyLoc matching (((((Matching unit) is A structure) Not equal to True) and (((Matching unit) is alive) Equal to True)) and (((Matching unit) belongs to an enemy of (Owner of FT_Caster)) Equal to True)))
Unit Group - Pick every unit in FT_Group and do (Actions)
Loop - Actions
Special Effect - Create a special effect attached to the origin of FT_Dummy using Abilities\Spells\Other\Doom\DoomDeath.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause FT_Caster to damage (Picked unit), dealing 300.00 damage of attack type Spells and damage type Fire
Custom script: call DestroyGroup(udg_FT_Group)