What's wrong with this trigger?

Crimson

Member
Reaction score
3
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.

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)


EDIT: Never mind. I figured out what's wrong. Silly me. I had to add the ability first.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top