![]() |
||||||||||||||
|
||||||||||||||
blade2k
» articles & tutorialsSkill 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 |
|
|||||||||||||
|
©2002-2008 blade2k.net - parsed in 0.011 seconds - view active users
[16010 members][newest member: Markaz]
Active Users (1)[ cima55 ]
|
||||||||||||||