- Joined
- Jun 27, 2010
- Messages
- 3,254
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
-
-
-


