[General] Upgrade Triggers

I'm trying to make a tower/wall upgrade itself through an ability. I boost its devotion aura with every time it casts "upgrade". So why doesn't this work?

  • Upgrade
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to Upgrade Tower (Might of the West)
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Level of Wall Defense for (Triggering unit)) Less than 5
            • Then - Actions
              • Unit - Increase level of Wall Defense for (Triggering unit)
            • Else - Actions
        • Else - Actions
 
Top