I want to create a system that increases the basic statistics of the characters,
When an enemy is killed by the user who has just killed him.
One or more attributes in variables are increased.
HP max, MP max, Attack, Defense, Magic, Magic defense, Speed and luck.
Each character will have an eight attribute curve on a different rate of increase.
I would like to add a damage formula that calculates if the user's ID = 2, 3, 4, 5, 6, 7, 8, 9
Which adds a different status to the target.
Then in the monster group.
If monster 1 or 2 is kill and is under status 322, 323, 324, 325, 326, 327, 328, 329 its mounts a variable of + 1 or predefined states on a character.
I created 8 skill with a following formula.
a.id == 2? b.add_state (322)
a.id == 3? b.add_state (323)
a.id == 4? b.add_state (324)
a.id == 5? b.add_state (325)
a.id == 6? b.add_state (326)
a.id == 7? b.add_state (327)
a.id == 8? b.add_state (328)
a.id == 9? b.add_state (329)
Then a skill that connects all eight skills.
I tested this formula but only it does not work well.
How to do that when The enemy is killing his add the variable?
the formula is not good?
Thank you in advance !
When an enemy is killed by the user who has just killed him.
One or more attributes in variables are increased.
HP max, MP max, Attack, Defense, Magic, Magic defense, Speed and luck.
Each character will have an eight attribute curve on a different rate of increase.
I would like to add a damage formula that calculates if the user's ID = 2, 3, 4, 5, 6, 7, 8, 9
Which adds a different status to the target.
Then in the monster group.
If monster 1 or 2 is kill and is under status 322, 323, 324, 325, 326, 327, 328, 329 its mounts a variable of + 1 or predefined states on a character.
I created 8 skill with a following formula.
a.id == 2? b.add_state (322)
a.id == 3? b.add_state (323)
a.id == 4? b.add_state (324)
a.id == 5? b.add_state (325)
a.id == 6? b.add_state (326)
a.id == 7? b.add_state (327)
a.id == 8? b.add_state (328)
a.id == 9? b.add_state (329)
Then a skill that connects all eight skills.
I tested this formula but only it does not work well.
How to do that when The enemy is killing his add the variable?
the formula is not good?
Thank you in advance !