- Joined
- May 1, 2008
- Messages
- 1,605
Moin moin^^
my Idea: I got the creep "Zul'Ra". If the life of Zul'Ra becomes lower than 9000, 4 random "Elite Troll Berserker" and 1 "Elite Troll Priest" should change the owner from Neutral Passive to Player 12 (Brown) and gains Vulnerble.
the structure of Zul'Ras Temple": Hes in the middle and around him there are this "Dark Trolls" and "Troll Priests". (There are neutral passive and Invulnerble)
My Trigger:
So can someone help my what i should change?
(Theres this trigger for 9000 life and for 7000 5000 3000 1000 life other triggers (with the same function))
my Idea: I got the creep "Zul'Ra". If the life of Zul'Ra becomes lower than 9000, 4 random "Elite Troll Berserker" and 1 "Elite Troll Priest" should change the owner from Neutral Passive to Player 12 (Brown) and gains Vulnerble.
the structure of Zul'Ras Temple": Hes in the middle and around him there are this "Dark Trolls" and "Troll Priests". (There are neutral passive and Invulnerble)
My Trigger:
-
Summon 1
-
Events
- Unit - Troll Warlock 0067 <gen>'s life becomes Less than 9000.00
- Conditions
-
Actions
- Trigger - Turn off (This trigger)
-
Unit Group - Pick every unit in (Units within 2000.00 of (Position of Troll Warlock 0067 <gen>)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Picked unit)) Equal to Elite Troll Berserker
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Picked unit)) Equal to Neutral Passive
-
Then - Actions
-
Unit Group - Pick every unit in (Random 4 units from (Units of type (Unit-type of (Picked unit)))) and do (Actions)
-
Loop - Actions
- Unit - Make (Picked unit) Vulnerable
- Unit - Change ownership of (Picked unit) to Player 12 (Brown) and Change color
- Unit - Order (Picked unit) to Attack-Move To (Position of Troll Warlock 0067 <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Random 4 units from (Units of type (Unit-type of (Picked unit)))) and do (Actions)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 2000.00 of (Position of Troll Warlock 0067 <gen>)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Picked unit)) Equal to Elite Troll Priest
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Owner of (Picked unit)) Equal to Neutral Passive
-
Then - Actions
-
Unit Group - Pick every unit in (Random 1 units from (Units of type (Unit-type of (Picked unit)))) and do (Actions)
-
Loop - Actions
- Unit - Make (Picked unit) Vulnerable
- Unit - Change ownership of (Picked unit) to Player 12 (Brown) and Change color
- Unit - Order (Picked unit) to Attack-Move To (Position of Troll Warlock 0067 <gen>)
-
Loop - Actions
-
Unit Group - Pick every unit in (Random 1 units from (Units of type (Unit-type of (Picked unit)))) and do (Actions)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Do nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
Events
So can someone help my what i should change?
(Theres this trigger for 9000 life and for 7000 5000 3000 1000 life other triggers (with the same function))