- Joined
- Jan 4, 2017
- Messages
- 78
- Reaction score
- 7
- Primarily Uses
hi im trying to create a curse skill that randomly picks 1 out of 6 types of states. but im having trouble with it. none of my code works in the damage formula box.
example.
x = Math.floor(Math.randomInt(6) + 1); x = 1 b.addState(2); x = 2 b.addState(3); x = 3 b.addState(4); x = 4 b.addState(5); x = 5 b.addState(6); x = 6 b.addState(7);
no errors but no state is applied. the code to me looks right but maybe its syntax got wrong idk. please help.
ive also tried using yanfly's buff state core using lunatic mode. but it pops up error messages when i enter a similiar but slighty different code then above.
example.
x = Math.floor(Math.randomInt(6) + 1); x = 1 b.addState(2); x = 2 b.addState(3); x = 3 b.addState(4); x = 4 b.addState(5); x = 5 b.addState(6); x = 6 b.addState(7);
no errors but no state is applied. the code to me looks right but maybe its syntax got wrong idk. please help.
ive also tried using yanfly's buff state core using lunatic mode. but it pops up error messages when i enter a similiar but slighty different code then above.
Last edited by a moderator: