hello all
i created the upgrades
i want them to reduce umm like this
when a player repicked hero
here is my repicking trigger it works good
but about the take aim upgrading i want them to set the take aim lvl to 0 but cant ....
Code:
Take Aim
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Take Aim
Actions
Player - Set the current research level of Take Aim to ((Current research level of Take Aim for (Owner of (Learning Hero))) + 1) for (Owner of (Learning Hero))
i created the upgrades
i want them to reduce umm like this
when a player repicked hero
Code:
Repicking
Events
Player - Player 2 (Blue) types a chat message containing -repick as An exact match
Player - Player 3 (Teal) types a chat message containing -repick as An exact match
Player - Player 4 (Purple) types a chat message containing -repick as An exact match
Player - Player 5 (Yellow) types a chat message containing -repick as An exact match
Player - Player 6 (Orange) types a chat message containing -repick as An exact match
Conditions
Actions
Player - Set (Triggering player) Current gold to (3900 / (Number of players in Good_Side_Players))
Quest - Display to (All enemies of (Triggering player)) the Hint message: A player has repick...
Player - Set (Triggering player) Current lumber to 1
Camera - Pan camera for (Triggering player) to (Center of Hero Move <gen>) over 1.00 seconds
Player - Set the current research level of Take Aim to 0 for (Triggering player)
Unit Group - Pick every unit in (Units in (Playable map area) owned by (Triggering player)) and do (Actions)
Loop - Actions
Unit Group - Remove (Picked unit) from Heros1UnitGroupVariable
Player Group - Pick every player in Players and do (Actions)
Loop - Actions
Player - Make (Unit-type of (Picked unit)) Available for training/construction by (Picked player)
Unit - Remove (Picked unit) from the game
here is my repicking trigger it works good
but about the take aim upgrading i want them to set the take aim lvl to 0 but cant ....