I want to make Attribute Bonus auto-level when my heroes go past level 10 but it won't work. Can someone tell me what's wrong with this? I gave Attribute bonus a level requirement by the way. The heroes can learn it starting at level 11.
EDIT: Never mind. I figured out what's wrong. Silly me. I had to add the ability first.
Trigger:
- Attribute Bonus
- Events
- Unit - A unit Gains a level
- Conditions
- ((Triggering unit) is A Hero) Equal to True
- (Level of (Leveling Hero)) Greater than or equal to 10
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Level of Attribute Bonus (10 Levels) for (Triggering unit)) Equal to 0
- Then - Actions
- Unit - Set level of Attribute Bonus (10 Levels) for (Triggering unit) to 1
- Else - Actions
- Unit - Increase level of Attribute Bonus (10 Levels) for (Triggering unit)
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
EDIT: Never mind. I figured out what's wrong. Silly me. I had to add the ability first.