- Joined
- Jul 28, 2007
- Messages
- 920
Works for 1st player only, why ?
It gives 1 skill point every 2 levels, 3,5,7,9,11...
Hero_Spell_level_pre - integral
Hero_Spell_level - integral
It gives 1 skill point every 2 levels, 3,5,7,9,11...
Hero_Spell_level_pre - integral
Hero_Spell_level - integral
-
Actions
- -------- init level --------
- Set Hero_Spell_level_pre[(Player number of (Owner of (Leveling Hero)))] = (Hero_Spell_level_pre[(Player number of (Owner of (Leveling Hero)))] + 1)
-
-------- set skip level --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Hero_Spell_level_pre[(Player number of (Owner of (Leveling Hero)))] Equal to (==) 2
-
Then - Actions
- Set Hero_Spell_level[(Player number of (Owner of (Leveling Hero)))] = (Hero_Spell_level[(Player number of (Owner of (Leveling Hero)))] + 2)
- Set Hero_Spell_level_pre[(Player number of (Owner of (Leveling Hero)))] = 0
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
-------- add skill --------
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Hero level of (Leveling Hero)) Not equal to (!=) Hero_Spell_level[(Player number of (Owner of (Leveling Hero)))]
-
Then - Actions
- Hero - Modify unspent skill points of (Leveling Hero): Subtract 1 points
- Else - Actions
-
If - Conditions
-
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)