- Joined
- Jul 31, 2010
- Messages
- 5,259
hello, I want to ask something about my noob attempt at limiting heroes, I made a trigger that will limit the training of all custom heroes I made, like limit 1 hero per tier, it work but their is something wrong with my trigger, when I buy custom heroes in the tavern, the limitation of such heroes went null and thus I can buy all of them in the tavern, but if I started training my custom heroes(via altar) first then the trigger works, did I miss a spot? here's the code:
-
Limit Heroes
-
Events
- Map initialization
- Conditions
-
Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Loop - Actions
- Player - Limit training of Paladin (CUSTOM) to 1 for (Picked player)
- Player - Limit training of Archmage (CUSTOM) to 1 for (Picked player)
- Player - Limit training of Mountain King (CUSTOM) to 1 for (Picked player)
-
Loop - Actions
-
Player Group - Pick every player in (All players) and do (Actions)
-
Events