View Single Post
Old 06-13-2012, 01:43 AM   #1 (permalink)
Registered User gritpatrick
User
 
Join Date: Jun 2012
Posts: 55
gritpatrick has little to show at this moment (4)
Exclamation Need help with a Hero leveling Trigger

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 !!!!
gritpatrick is offline   Reply With Quote