• 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.

Need help with a Hero leveling Trigger

Status
Not open for further replies.
Level 5
Joined
Jun 13, 2012
Messages
113
This is my trigger
Leveling
Events
Unit - A unit Gains a level
Conditions
Actions
Player Group - Pick every player in (All players) and do (Actions)
Loop - Actions
Hero - Make (Picked player) Heroes gain 800.00% experience from future kills
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Owner of (Leveling Hero)) Equal to (Picked player)
((Picked player) controller) Equal to Computer
(Unit-type of (Leveling Hero)) Equal to Far Seer
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Chain Lightning for (Triggering unit)) Not equal to 5
Then - Actions
Unit - Increase level of Chain Lightning for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
And - All (Conditions) are true
Conditions
(Level of Chain Lightning for (Leveling Hero)) Equal to 5
(Level of Feral Spirit for (Leveling Hero)) Not equal to 5
Then - Actions
Hero - Learn skill for (Leveling Hero): Feral Spirit
Unit - Increase level of Feral Spirit for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Feral Spirit for (Leveling Hero)) Equal to 5
(Level of Earthquake for (Leveling Hero)) Not equal to 5
Then - Actions
Unit - Add Earthquake to (Leveling Hero)
Unit - Increase level of Earthquake for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Earthquake for (Leveling Hero)) Equal to 5
(Level of Far Sight for (Leveling Hero)) Not equal to 5
Then - Actions
Unit - Add Far Sight to (Leveling Hero)
Unit - Increase level of Far Sight for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Far Sight for (Leveling Hero)) Equal to 5
Then - Actions
Hero - Learn skill for (Leveling Hero): Attribute Bonus
Unit - Increase level of Attribute Bonus for (Leveling Hero)
Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
Else - Actions
Do nothing
Else - Actions
Do nothing



For some reason when it learns Feral Spirit to lv 5 it wont learn Earth quake or fore sight when i tried changing it.

Help plz !!!!
 
Level 6
Joined
Oct 4, 2011
Messages
226
Whenever you go to reply hit go advanced, it is the icon that looks like trigger icon fromt he editor, a little gear or cog. you can also type it out once you learn the code. I would try to help you if you put it into trigger tags. simply edit your previous post and go advanced.
 
Status
Not open for further replies.
Top