Event - Unit starts the effect of an ability
Condition - Ability being cast is equal to Storm Bolt
Action - Damage Target for (agility of Casting unit ) x 3
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((Real((Agility of (Triggering unit) (Include bonuses)))) x 3.00) damage of attack type Spells and damage type Lightning
THis is the Thing...
The Damage Target is almost at the bottom of the Unit Actions
You have to click on the value for damage and then click on the 1.00, then click on Convesion - Interger to Real then go up till you see Hero - Hero Attribute then click n strength and set it to agility, then set the unit to triggering unit, then click OK till you get to Real(Agility of (Triggering Unit) (include bonuses))) + 1.00 switch the + to a x and set 1 to 3 if u need pictures contact me tommorow im going to sleep >.>
Create a new unit.
Change the units model to _.mdl (_ is a space) -(nothing so it dosent show up)
Give it the locust ability.(this makes it so the unit cannot be clicked on and has 0 collision
Make it so some spawn.
Add them to a uit group.
Make a trigger that damages all units around the dummies (exept allies)
Heres an example
Frost Wave1
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Frost Wave
Actions
Set Frost_Wave_Caster = (Triggering unit) Wait 0.66 seconds Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 200.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 400.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 800.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 1000.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 300.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 500.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 700.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Unit - Create 1 Frost Wave Dummy for Neutral Passive at ((Position of Frost_Wave_Caster) offset by 900.00 towards (Facing of Frost_Wave_Caster) degrees) facing Default building facing degrees Unit Group - Add (Last created unit) to Frost_wave_Dummys Countdown Timer - Start Frost_Wave_Timer as a One-shot timer that will expire in 0.00 seconds
Frost Wave2
Events
Time - Frost_Wave_Timer expires
Conditions Actions
Unit Group - Pick every unit in Frost_wave_Dummys and do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\Undead\FrostNova\FrostNovaTarget.mdl Unit - Cause Frost_Wave_Caster to damage circular area after 0.00 seconds of radius 250.00 at (Position of (Picked unit)), dealing ((Real((Intelligence of Frost_Wave_Caster (Include bonuses)))) x 2.00) damage of attack type Spells and damage type Cold
Wait 1.00 seconds Unit Group - Pick every unit in Frost_wave_Dummys and do (Actions)
Loop - Actions
Unit - Kill (Picked unit) Unit Group - Remove (Picked unit) from Frost_wave_Dummys