I'm using Yanfly's CTB system and I need to make so if a player as a certain state (stunned for example) the code automatically ends its turn. I tried calling a few BattleManager and Scene_Battle methods, I also tried to force the actor to use a spell that does nothing if he's stunned but when I try to call it in my plugin the best I could get is him starting to use it and the game locking before the animation.
Anyone can help?
Thank you
Anyone can help?
Thank you