- Joined
- Apr 12, 2009
- Messages
- 125
How can i make this MUI, not leak and not damage friendly units or self??
~r0bfish~
-
Spell Toxic Nova
-
Events
-
Unit - A unit Begins casting an ability
-
-
Conditions
-
(Ability being cast) Equal to Toxic Nova
-
-
Actions
-
Set Toxic_Target = (Target unit of ability being cast)
-
Set Toxic_Damage = 10.00
-
Set Toxic_Group = (Units within 350.00 of (Position of Toxic_Target) matching (((Triggering unit) is Magic Immune) Equal to False))
-
Trigger - Turn on Spell Toxic Nova2 <gen>
-
Wait 5.00 seconds
-
Trigger - Turn off Spell Toxic Nova2 <gen>
-
Custom script: call DestroyGroup (udg_Toxic_Group)
-
-
-
Spell Toxic Nova2
-
Events
-
Time - Every 1.00 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in Toxic_Group and do (Actions)
-
Loop - Actions
-
Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - Toxic_Damage)
-
Special Effect - Create a special effect attached to the overhead of (Picked unit) using Abilities\Spells\Other\AcidBomb\BottleImpact.mdl
-
Special Effect - Destroy (Last created special effect)
-
-
-
-
~r0bfish~