- Joined
- Jul 10, 2018
- Messages
- 383
Hello how can i make a trigger that does as follow.
-agi XX
-str XX
-int XX
i made a starting trigger but i don't know what to do next.
-agi XX
-str XX
-int XX
i made a starting trigger but i don't know what to do next.
-
LevelingSystem
-
Events
- Player - Player 1 (Red) types a chat message containing -agi as A substring
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Triggering player) Current lumber) Greater than 0
-
Then - Actions
- Game - Display to (All players) the text: WORKING
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units owned by (Triggering player) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
- Hero - Modify Agility of (Picked unit): Add (Length of (Entered chat string))
-
Loop - Actions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events