Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Shockwave Strength

Events


Unit - A unit Begins casting an ability

Conditions


(Ability being cast) Equal to Shockwave

Actions


Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Center of (Playable map area)) facing Default building facing degrees


Unit - Add Shockwave (Short) to (Last created unit)


Unit - Set level of Shockwave (Short) for (Last created unit) to (Level of Shockwave for (Triggering unit))


Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)


Unit - Kill (Last created unit)


Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Center of (Playable map area)) facing Default building facing degrees


Unit - Add Shockwave (Medium) to (Last created unit)


Unit - Set level of Shockwave (Medium) for (Last created unit) to (Level of Shockwave for (Triggering unit))


Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)


Unit - Kill (Last created unit)
Actions

Set Point[0] = (Position of (Triggering unit))

Set Point[1] = (Target point of ability being cast)

For each (Integer A) from 2 to 5, do (Actions)


Loop - Actions



Set Point[(Integer A)] = (Point[0] offset by (((Distance between Point[0] and Point[1]) / 5.00) x (Real((Integer A)))) towards (Angle from Point[0] to Point[1]) degrees)



Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius ((Distance between Point[0] and Point[2]) - 10.00) at Point[(Integer A)], dealing (Real((Intelligence of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal



-------- The point of the -10 at the radius is because if it would be exacly the length of Point[0] - Point[1] it would also damage the caster --------

Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius ((Distance between Point[0] and Point[2]) - 10.00) at Point[1], dealing (Real((Intelligence of (Triggering unit) (Include bonuses)))) damage of attack type Spells and damage type Normal

