Help creating 'turn cancel' state

I'm currently trying to create a skill that 'skips 1 turn' but it does nothing.

Am I doing something wrong in the state database for the skill?

I've tried changing various features in the state but the enemy still always gets to act anyways.
Isn't that what the default "Wait" skill is for?
hmm... I feel you'd need to force the enemy to use Wait? are you trying to get enemies to do nothing for a turn on purpose or randomly?
attack speed determines the turn order. it does not change how often a battler acts.

so attack speed -1000 guarantees the actor skills will be used last in a turn, it will not cancel the actions of that turn.
Try setting the removal timing to Action End instead of Turn End, then change the duration to 1~1. 🙂

If the enemy still gets to act with a "Cannot move" state applied to them, then:
  • Are you using any plugins?
  • Can you reproduce that behaviour in a new project?
So.... basically "stun" but with different term...?
hmm... I feel you'd need to force the enemy to use Wait? are you trying to get enemies to do nothing for a turn on purpose or randomly?
On purpose.

I have a skill called 'Flash Cut' that my character can use that just makes them skip their current turn. The problem is that with Yanfly's CTB battle system, turns are treated different and a 'turn' happens per character, not per MV's usual ATB style.

So it's hard to determine the duration of the state for each battle, as there isn't always the *same* number of characters/enemies in every battle, so the number of turns the effect lasts for has to be customized to account for this.

Try setting the removal timing to Action End instead of Turn End, then change the duration to 1~1. 🙂

If the enemy still gets to act with a "Cannot move" state applied to them, then:
  • Are you using any plugins?
  • Can you reproduce that behaviour in a new project?
I'm using yanfly's CTB battle system plugin, so turns function differently and it needs a custom evaluation to work, as each character ahs their *own* turn. So if the state lasts for '2 turns' but the monster is 3 turns from moving, they'll still get to act.

And I did try 'action end' but that just applied the state after the enemy acted, and nullified the purpose.
I've been using yanfly paralyze state for enemy stuns.
Just set rate to 1.0 and they skip turn, maybe remove or change animation, ect. I still haven't bothered to try to make it so actors skip turn without having input, but I imagine it would be easy to do if I editted turn start if affected by paralyze it skips, I did it already with an equip change in battle script edit so it uses a blank skill.

Code:
    if ($gameSwitches.value(35) == true) {
        $gameSwitches.setValue(35, false);
        var skill = $dataSkills[23];
        var action = BattleManager.inputtingAction();
        action.setSkill(skill.id);
        BattleManager.actor().setLastBattleSkill(skill);
        this._skillWindow.hide();
        this._itemWindow.hide();
        this.onSelectAction();
        this.selectNextCommand();
        }
I've been using yanfly paralyze state for enemy stuns.
Just set rate to 1.0 and they skip turn, maybe remove or change animation, ect. I still haven't bothered to try to make it so actors skip turn without having input, but I imagine it would be easy to do if I editted turn start if affected by paralyze it skips, I did it already with an equip change in battle script edit so it uses a blank skill.

Code:
    if ($gameSwitches.value(35) == true) {
        $gameSwitches.setValue(35, false);
        var skill = $dataSkills[23];
        var action = BattleManager.inputtingAction();
        action.setSkill(skill.id);
        BattleManager.actor().setLastBattleSkill(skill);
        this._skillWindow.hide();
        this._itemWindow.hide();
        this.onSelectAction();
        this.selectNextCommand();
        }


THANK YOU SOOOOOOOO MUCH! This is a STAPLE of my battle system so OFMGGGG!!! #Bless

I've looked throguh a TON of Yanfly's tips and tricks but NEVER thought to look at paralyze
-_-
if it is for enemies only, there is no absolute need for plugins.
the same could have been done by adding the wait skill to the enemy patterns conditioned on whatever placeholder state you want, and giving the wait skill the highest priority.

OK, for that you would have to add that to every enemy to work which is tedious, but you wouldn't have to handle plugin compatibility issues either.
@Zakarijah If you problem is solved, please report this thread and we'll close it. 🙂
if it is for enemies only, there is no absolute need for plugins.
the same could have been done by adding the wait skill to the enemy patterns conditioned on whatever placeholder state you want, and giving the wait skill the highest priority.

OK, for that you would have to add that to every enemy to work which is tedious, but you wouldn't have to handle plugin compatibility issues either.

I stated above that I'm using Yanfly's CTB plugin, which alters enemy turns and makes battles flow more akin to Final Fantasy X. I don't have to use a plugin to create the state but had to get creative in the notetags, for which I'm not knowledgeable.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/help-creating-turn-cancel-state.117766/