soulmaka
New Member
- Reaction score
- 2
Trigger:
- Splashing Wave
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Splashing Wave
- Actions
- Set T_U = (Triggering unit)
- Set T_U_Pos = (Position of T_U)
- For each (Integer A) from 1 to 12, do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Splashing Wave for T_U) Equal to 1
- Then - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Loop - Actions
- Set T_P = (T_U_Pos offset by (50.00 x (Real((Integer A)))) towards (30.00 x (Real((Integer B)))) degrees)
- Special Effect - Create a special effect at T_P using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
- Destructible - Pick every destructible within 250.00 of T_P and do (Destructible - Kill (Picked destructible))
- Unit Group - Pick every unit in (Units within 250.00 of T_P) and do (Actions)
- Loop - Actions
- If (((Picked unit) belongs to an enemy of (Owner of T_U)) Equal to True) then do (Unit - Cause T_U to damage (Picked unit), dealing (2.00 x (Real((Intelligence of T_U (Include bonuses))))) damage of attack type Spells and damage type Cold) else do (Do nothing)
- Loop - Actions
- Custom script: call RemoveLocation (udg_T_P)
- Loop - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Splashing Wave for T_U) Equal to 2
- Then - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Loop - Actions
- Set T_P = (T_U_Pos offset by (50.00 x (Real((Integer A)))) towards (30.00 x (Real((Integer B)))) degrees)
- Special Effect - Create a special effect at T_P using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
- Destructible - Pick every destructible within 250.00 of T_P and do (Destructible - Kill (Picked destructible))
- Unit Group - Pick every unit in (Units within 250.00 of T_P) and do (Actions)
- Loop - Actions
- If (((Picked unit) belongs to an enemy of (Owner of T_U)) Equal to True) then do (Unit - Cause T_U to damage (Picked unit), dealing (3.00 x (Real((Intelligence of T_U (Include bonuses))))) damage of attack type Spells and damage type Cold) else do (Do nothing)
- Loop - Actions
- Custom script: call RemoveLocation (udg_T_P)
- Loop - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Else - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Splashing Wave for T_U) Equal to 3
- Then - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Loop - Actions
- Set T_P = (T_U_Pos offset by (50.00 x (Real((Integer A)))) towards (30.00 x (Real((Integer B)))) degrees)
- Special Effect - Create a special effect at T_P using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
- Destructible - Pick every destructible within 250.00 of T_P and do (Destructible - Kill (Picked destructible))
- Unit Group - Pick every unit in (Units within 250.00 of T_P) and do (Actions)
- Loop - Actions
- If (((Picked unit) belongs to an enemy of (Owner of T_U)) Equal to True) then do (Unit - Cause T_U to damage (Picked unit), dealing (4.00 x (Real((Intelligence of T_U (Include bonuses))))) damage of attack type Spells and damage type Cold) else do (Do nothing)
- Loop - Actions
- Custom script: call RemoveLocation (udg_T_P)
- Loop - Actions
- For each (Integer B) from 1 to 12, do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Wait 0.10 seconds
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Unit - Create 1 Priest for (Owner of T_U) at T_U_Pos facing Default building facing degrees
- Set LastCreated = (Last created unit)
- Unit - Cause T_U to damage circular area after 0.00 seconds of radius 500.00 at T_U_Pos, dealing 10000.00 damage of attack type Spells and damage type Normal
- Wait 0.10 seconds
- Unit - Kill LastCreated
- Custom script: call RemoveLocation (udg_T_U_Pos)
- Events
NVM!!! i GOT it ALREADY... =)