I have an ability based on Unholy Aura that is added to select units below 500 HP.
So I tried with variables and setting up unit groups, but I have never made a trigger like this, so I really don't know what I am doing. I think I am still missing variables in this, but I don't know and really don't know what type of variables they should be.
Thanks for any help.
-
Add Fire Buff
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Frigate Class
-
(Unit-type of (Triggering unit)) Equal to Battleship Class
-
(Unit-type of (Triggering unit)) Equal to Pirate Fleet Class
-
(Unit-type of (Triggering unit)) Equal to Pirate Raider Class
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Life of (Triggering unit)) Less than or equal to 500.00
-
-
Then - Actions
-
Unit - Add On Fire to (Triggering unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Remove Fire Buff
-
Events
-
Time - Every 2.00 seconds of game time
-
-
Conditions
-
Or - Any (Conditions) are true
-
Conditions
-
(Unit-type of (Picked unit)) Equal to Frigate Class
-
(Unit-type of (Picked unit)) Equal to Battleship Class
-
(Unit-type of (Picked unit)) Equal to Pirate Raider Class
-
(Unit-type of (Picked unit)) Equal to Pirate Fleet Class
-
-
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Life of (Triggering unit)) Greater than or equal to 500.00
-
-
Then - Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - Remove On Fire from (Picked unit))
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
Remove Fire Buff Copy
-
Events
-
Time - Every 2.00 seconds of game time
-
-
Conditions
-
Actions
-
Set OnFire = (Units in (Playable map area) matching ((Life of (Picked unit)) Greater than or equal to 501.00))
-
Unit Group - Pick every unit in OnFire and do (Actions)
-
Loop - Actions
-
Set OnFire_Unit = (Picked unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Life of (Picked unit)) Greater than or equal to 501.00
-
-
Then - Actions
-
Unit - Remove On Fire from (Picked unit)
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-
So I tried with variables and setting up unit groups, but I have never made a trigger like this, so I really don't know what I am doing. I think I am still missing variables in this, but I don't know and really don't know what type of variables they should be.
Thanks for any help.