• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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