Quote: tumble: Time flies when you're having food
blade2k » articles & tutorials

jump to:
Tutorials » Game Creation » RPG Maker 2000

Skill Points in the DBS


Reading Article
Author: DFalcon
Posted on 08/02/2004
print :: back to list

S

kill Points in the DBS
By DFalcon
Difficulty: Easy

Lots of people seem to ask how to add "skill points" or something similar to a value for each hero who was in a battle, but for some reason have trouble because they can't make it so it counts all the enemies, or so it doesn't give skill points after running away, or whatever.




In each monster party, put a battle event:


Activates on Turn 0
***
Change Switch [0001: Battled] ON
Variable Ch: [0001: Skill Pts] Set, 5
***
Change the skill points variable to whatever is appropriate for that party.



Make a common event:


Autostart, activates on switch [0001: Battled].
***
Variable Ch: [0002: Temp] Set, Bob EXP
FORK [0002: Temp] is equal to [0003: Bob Old EXP]
>Variable Ch: [0004: Bob's Skill Pts] +, [0001: Skill Pts]
END Case
Variable Ch: [0002: Temp] Set, Joe EXP
FORK [0002: Temp] is equal to [0005: Joe Old EXP]
>Variable Ch: [0006: Joe's Skill Pts] +, [0001: Skill Pts]
END Case
Variable Ch: [0002: Temp] Set, Elwood EXP
FORK [0002: Temp] is equal to [0007: Elwood Old EXP]
>Variable Ch: [0008: Elwood's Skill Pts] +, [0001: Skill Pts]
END Case

Variable Ch: [0003: Bob Old EXP], Bob EXP
Variable Ch: [0005: Joe Old EXP], Joe EXP
Variable Ch: [0007: Elwood Old EXP], Elwood EXP
Change Switch: [0001: Battled] OFF
***


The autostart event will activate at the end of each battle. If it was a victory, the characters involved will have gained EXP, so it checks current EXP against the value it keeps track of to see if they gained any. Make sure to include checks for all heroes which can gain skill points.

--end tutorial