• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] Why they don't level abilities?

Status
Not open for further replies.
I did a trigger for heroes to add an ability when they spawn, and then i did this trigger to make them leveltheir abilities. Any mistakes? This does not work.
  • AI Passive Abilities
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • (Level of (Triggering unit)) Equal to 3
      • (Level of (Triggering unit)) Equal to 5
      • (Level of (Triggering unit)) Equal to 7
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Paladin
          • ((Owner of Paladin) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Devotion Aura for Paladin
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Archmage
          • ((Owner of Archmage) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Brilliance Aura for Archmage
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Mountain_King
          • ((Owner of Mountain_King) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Bash for Mountain_King
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Ranger
          • ((Owner of Ranger) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Trueshot Aura for Ranger
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Blademaster
          • ((Owner of Blademaster) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Critical Strike for Blademaster
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Tauren_Chieftain
          • ((Owner of Tauren_Chieftain) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Endurance Aura for Tauren_Chieftain
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Triggering unit) Equal to Brewmaster
          • ((Owner of Brewmaster) controller) Equal to Computer
        • Then - Actions
          • Unit - Increase level of Drunken Brawler (Chen) for Brewmaster
        • Else - Actions
 
Status
Not open for further replies.
Top