- Joined
- Oct 27, 2015
- Messages
- 26
- Reaction score
- 2
- First Language
- Portuguese
EDIT: This is what I've managed so far.
Let's use Pokemon Paralysis as an example. If you are paralyzed, there's a 25% chance of not moving.
The problem I'm currently having is that, when the state is added, there's no prompt warning that the character cannot move and the enemy attacks automatically first. Right before the turn ends, the state persistence message is shown. The problem with that is the order of actions, I'd like to have the "Cannot move" state appearing before the enemy attack.
Is there a command for "Cannot Move" or force action "Wait"? That way I don't have to use another state.
I know there's a Numb State plugin, but it isn't working on my game, probably because of YEP's State Core.
Let's use Pokemon Paralysis as an example. If you are paralyzed, there's a 25% chance of not moving.
State 15 is simply a "Cannot Move" State that is auto-removed at turn end.<Custom Turn Start Effect>
var x = Math.floor(Math.random()*100) + 1
if (x >= 25 ) {
user.addState(15);
}
</Custom Turn Start Effect>
The problem I'm currently having is that, when the state is added, there's no prompt warning that the character cannot move and the enemy attacks automatically first. Right before the turn ends, the state persistence message is shown. The problem with that is the order of actions, I'd like to have the "Cannot move" state appearing before the enemy attack.
Is there a command for "Cannot Move" or force action "Wait"? That way I don't have to use another state.
I know there's a Numb State plugin, but it isn't working on my game, probably because of YEP's State Core.
Last edited by a moderator:


