- Joined
- Jul 25, 2014
- Messages
- 490
Fireworks

Events


Unit - A unit Starts the effect of an ability

Conditions


(Ability being cast) Equal to Fireworks

Actions


-------- ---------- --------


Set Ability_Fireworks = Fireworks


-------- ---------- --------


-------- Dummy --------


Set FireworksDummy = (Last created unit)


-------- Point --------


Set Point_1 = (Target point of ability being cast)


-------- ---------- --------


-------- AoE --------


-------- ---------- --------


Set AoE_Fireworks[1] = 300.00


Set AoE_Fireworks[2] = 400.00


Set AoE_Fireworks[3] = 500.00


-------- ---------- --------


-------- Damage Type --------


-------- ---------- --------


Set Damage_Type = Divine


-------- Damage Dealt --------


Set Damage_Dealt[1] = 350.00


Set Damage_Dealt[2] = 400.00


Set Damage_Dealt[3] = 500.00


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




(Ability being cast) Equal to Fireworks



Then - Actions




Unit - Create 50 Fireworks Dummy for (Owner of (Triggering unit)) at Point_1 facing (Target point of ability being cast)




Unit - Cause FireworksDummy to damage circular area after 0.00 seconds of radius 500.00 at Point_1, dealing 500.00 damage of attack type Magic and damage type Damage_Type



Else - Actions




Environment - Create at (Entire map) the weather effect Rays Of Moonlight


Custom script: call RemoveLocation(udg_Point_1)