- Joined
- Dec 22, 2016
- Messages
- 95
- Reaction score
- 122
- First Language
- French
- Primarily Uses
Hello, this time I will show you how to set up multi difficulty settings for your game (tutorial level: very easy)
First create 2 (or more) difficulty states in your editor that lasts until the battle ends with no icon and priority =0:
Easy
Hard
Easy: (-25% stat)
Parameter HP max *75%
Parameter ATK *75%
Parameter Magic ATK *75%
In note section (this will remove 1 movement points to enemy):
<letbs>
move_points_plus: -1
</letbs>
Hard: (+25% stat)
Parameter HP max *125%
Parameter ATK *125%
Parameter Magic ATK *125%
In note section (this will add 1 movement points to enemy):
<letbs>
move_points_plus: 1
</letbs>
Then when you are not in battle, ask the player what difficulty he wants to play:
If easy then set up a variable difficulty = 1
If normal, then var = 2
If hard, then var = 3
At the start of battle in your troop events at turn 0 + 1*X with Span BATTLE (occurs only once)
If var difficulty = 1 then inflict all enemies with state "Easy" (malus)
If var difficulty = 2, then do nothing
If var difficulty = 3 then inflict all enemies with state "Hard" (bonus)
Then full heal all enemies (if HP max is greater than before they won't be full life without healing)
First create 2 (or more) difficulty states in your editor that lasts until the battle ends with no icon and priority =0:
Easy
Hard
Easy: (-25% stat)
Parameter HP max *75%
Parameter ATK *75%
Parameter Magic ATK *75%
In note section (this will remove 1 movement points to enemy):
<letbs>
move_points_plus: -1
</letbs>
Hard: (+25% stat)
Parameter HP max *125%
Parameter ATK *125%
Parameter Magic ATK *125%
In note section (this will add 1 movement points to enemy):
<letbs>
move_points_plus: 1
</letbs>
Then when you are not in battle, ask the player what difficulty he wants to play:
If easy then set up a variable difficulty = 1
If normal, then var = 2
If hard, then var = 3
At the start of battle in your troop events at turn 0 + 1*X with Span BATTLE (occurs only once)
If var difficulty = 1 then inflict all enemies with state "Easy" (malus)
If var difficulty = 2, then do nothing
If var difficulty = 3 then inflict all enemies with state "Hard" (bonus)
Then full heal all enemies (if HP max is greater than before they won't be full life without healing)





