- Joined
- Jan 2, 2015
- Messages
- 171
I want unit with 3 spells to cast spell 1 of 3 spell while being attacked or attacking without casting 3 spells at the same time..is it possible? (the unit learn this spell with trigger and cooldown are based on trigger disable for certain time)
-
Trigger Impale
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Crypt Lord
-
-
Actions
-
Set Chance = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Chance Less than or equal to 5
-
-
Then - Actions
-
Unit - Add Impale to (Triggering unit)
-
Set Temp_Location = (Position of (Triggering unit))
-
Set Temp_Group = (Units within 300.00 of Temp_Location matching (((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is A flying unit) Equal to False)) and ((((Matching unit) is alive) Equal to True) and (((Matching uni
-
Unit Group - Pick every unit in (Random 1 units from Temp_Group) and do (Actions)
-
Loop - Actions
-
Custom script: call RemoveLocation(udg_Temp_Location)
-
Set Temp_Location = (Position of (Picked unit))
-
Unit - Order (Triggering unit) to Undead Crypt Lord - Impale Temp_Location
-
-
-
Custom script: call DestroyGroup(udg_Temp_Group)
-
Custom script: call RemoveLocation(udg_Temp_Location)
-
Wait 3.20 seconds
-
Unit - Remove Landslide from (Triggering unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Trigger War Stomp
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to Crypt Lord
-
-
Actions
-
Set Chance = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Chance Less than or equal to 15
-
-
Then - Actions
-
Unit - Add War Stomp to (Attacking unit)
-
Unit - Order (Attacking unit) to Orc Tauren Chieftain - War Stomp
-
Wait 1.00 seconds
-
Unit - Remove War Stomp from (Attacking unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Trigger Storm Bolt
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Crypt Lord
-
-
Actions
-
Set Chance = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Chance Less than or equal to 1
-
-
Then - Actions
-
Unit - Add Storm Bolt to (Triggering unit)
-
Set Temp_Location = (Position of (Triggering unit))
-
Set Temp_Group = (Units within 300.00 of Temp_Location matching (((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Equal to True) and (((Matching unit) is A flying unit) Equal to False)) and ((((Matching unit) is alive) Equal to True) and (((Matching uni
-
Unit Group - Pick every unit in (Random 1 units from Temp_Group) and do (Actions)
-
Loop - Actions
-
Custom script: call RemoveLocation(udg_Temp_Location)
-
Set Temp_Location = (Position of (Picked unit))
-
Unit - Order (Triggering unit) to Human Mountain King - Storm Bolt (Picked unit)
-
-
-
Custom script: call DestroyGroup(udg_Temp_Group)
-
Custom script: call RemoveLocation(udg_Temp_Location)
-
Wait 3.00 seconds
-
Unit - Remove Storm Bolt from (Triggering unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
stomp
-
Events
-
Unit - A unit starts effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to War Stomp
-
-
Actions
-
Trigger - Turn off Trigger War Stomp <gen>
-
Wait 8.00 seconds
-
Trigger - Turn on Trigger War Stomp <gen>
-
-