- Joined
- Jul 14, 2011
- Messages
- 3,213
I'm making an RPG where skills level up automatically depending on the hero level, but I don't think it's the most efficient way to do it. I'd like to know if it's, or if there's a better way to do it.
The map has about 100 skills, that upgrade every 5 levels starting on lvl 10 (5 <- Level 1->, 10, 15, 20, 25, 30, 35, 40, 45, 50 <- Level 10 ->), and the max hero level is 50.
-
Increase Skill Level
-
Events
- Time - Every 1.00 seconds of game time
- Conditions
-
Actions
-
Unit Group - Pick every unit in (Units of type Believer Believer) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Picked unit)) Equal to 10
- (Level of Entangling Roots for (Picked unit)) Equal to 1
- (Level of War Stomp for (Picked unit)) Equal to 1
- (Level of Mirror Image for (Picked unit)) Equal to 1
-
Then - Actions
- Unit - Increase level of Entangling Roots for (Picked unit)
- Unit - Increase level of Mirror Image for (Picked unit)
- Unit - Increase level of War Stomp for (Picked unit)
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Level of (Picked unit)) Equal to 15
- (Level of Entangling Roots for (Picked unit)) Equal to 2
- (Level of War Stomp for (Picked unit)) Equal to 2
- (Level of Mirror Image for (Picked unit)) Equal to 2
-
Then - Actions
- Unit - Increase level of Entangling Roots for (Picked unit)
- Unit - Increase level of Mirror Image for (Picked unit)
- Unit - Increase level of War Stomp for (Picked unit)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
- Custom script: set bj_wantDestroyGroup = true
-
Unit Group - Pick every unit in (Units of type Believer Believer) and do (Actions)
-
Events
The map has about 100 skills, that upgrade every 5 levels starting on lvl 10 (5 <- Level 1->, 10, 15, 20, 25, 30, 35, 40, 45, 50 <- Level 10 ->), and the max hero level is 50.