|
- Learn Skill
- Events
- Unit - A unit Gains a level
- Conditions
- (Level of (Triggering unit)) Greater than or equal to 5
- Actions
- Unit - Add Acid Bomb to (Triggering unit)
- [/stable]
There it is thank you |
No. What you have given him is wrong...
Greater then or equal to means its gonnd add it every time he gains a level level 5 and above lol. Only use Equal to 5.
Right
Legendary, if you want that to learn only one times and not every greater level than 5, turn off the trigger after the trigger has been performed ONCE!
Hi guys thanks for the help but can you teach me like if im already level 19 and the skills wasn't the
Hi guys thanks for the help but can you teach me like if im already level 19 and the skills wasn't the
You can pick all units in playable map area, loop through them. If the picked unit is a hero, over level 5, doens't have the ability yet and maybe some other conditions, give it the ability.
How?
Im on phone, imma make xou a trigger when I get on laptop.... If someone desnt makes it for you by then
well, this shoulf be it. I'm not sure if condition matches your needs, you can change them anyway according to your needs.
- Untitled Trigger 001
- Events
- Map initialization
- Conditions
- Actions
- Custom script: set bj_wantDestroyGroup = true
- Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is A structure) Equal to False) and ((((Matching unit) is A Hero) Equal to True) and (((Level of (Matching unit)) Greater than or equal to 5) and (((Matching unit) belongs to an ally of Player 1 (Red)) and do (Actions)
- Loop - Actions
- Unit - Add Attribute Bonus to (Picked unit)
- Custom script: call DestroyTrigger(GetTriggeringTrigger())
What is set bj_wantDestroyGroup?
hmm its hard
^ this. In case the hero gains lets say 2 levels somehow and if the condition is equal to 5, nothing will happen.