ImmortaL_GoD
New Member
- Reaction score
- 4
Trigger:
- Mana Draw
- Events
- Unit - A unit enters Mana Draw <gen>
- Conditions
- (Unit-type of (Triggering unit)) Equal to (==) |cffffcc00Slave
- Actions
- Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) the text: |c00d9d9ffYou cast ...
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- ((Triggering unit) is owned by Player 1 (Red)) Equal to (==) True
- ((Owner of (Triggering unit)) Current gold) Greater than or equal to (>=) 5000
- Then - Actions
- Set temp_group = (Units in Red Spawn <gen> matching ((Unit-type of (Matching unit)) Equal to (==) |c00ff0000Orc Raider))
- Unit Group - Pick every unit in temp_group and do (Actions)
- Loop - Actions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Number of units in temp_group) Greater than (>) 9
- Then - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions)
- Loop - Actions
- Unit - Kill (First unit of group temp_group)
- Player - Set (Owner of (Triggering unit)) Current gold to (((Owner of (Triggering unit)) Current gold) + 4000)
- Loop - Actions
- Do Multiple ActionsFor each (Integer A) from 1 to 10, do (Actions)
- Else - Actions
- Do nothing
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- If - Conditions
- Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Game - Display to (Owner of (Triggering unit)), at offset (0.00, 0.00) the text: |c00d9d9ffYou cast ...
- Events