E - unit casts
C - your ability
A -
set point = position of triggering/point of being cast
set group = units within [Area of effect] of point matching [B](boolean matching unit belongs to an enemy of owner of triggering equal to true)[/B]
pick all in group and do
whatever
~remove variables~
Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Channel
Actions
Advanced - Create a special effect circle around location (Position of (Casting unit)) with radius 500.00 with 24 effects in total using model path Objects\Spawnmodels\Undead\UCancelDeath\UCancelDeath.mdl and lasting 2.00 seconds
Set temp_group = (Units within 500.00 of (Position of (Casting unit)) matching (((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True))
Unit Group - Pick every unit in temp_group and do (Actions)
Loop - Actions
Unit - Cause (Casting unit) to damage circular area after 0.00 seconds of radius 500.00 at (Position of (Casting unit)), dealing 500.00 damage of attack type Spells and damage type Normal
Special Effect - Create a special effect at ((Position of (Casting unit)) offset by 400.00 towards 90.00 degrees) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Create a special effect at ((Position of (Casting unit)) offset by 300.00 towards 180.00 degrees) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Create a special effect at ((Position of (Casting unit)) offset by 200.00 towards 270.00 degrees) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl
Special Effect - Create a special effect at ((Position of (Casting unit)) offset by 100.00 towards 360.00 degrees) using Abilities\Spells\Human\ThunderClap\ThunderClapCaster.mdl