I'm trying to create a skill similar to the escape skill where you can knock out an enemy instead of killing them. Which puts them in an immobile state outside of battle, Unless you interact with them, which re-initiates the battle. I have the skill set up with Victor's Hit Formula, so that the lower the hp of the enemy, the higher chance of succeeding in the knockout.
Everything works as intended, the only problem I'm running into is that whether the skill misses or not, the common event still plays, which ends the battle. If I don't use the script and just set the success rate to 0% it still happens, and if I sub out the common event for a status effect, it doesn't proc. Which tells me it's something to do with the way RPG maker handles common events.
All I need is to turn on a switch and abort the battle if the skill hits, and to do nothing if it misses. Any suggestions would be awesome. TY
Everything works as intended, the only problem I'm running into is that whether the skill misses or not, the common event still plays, which ends the battle. If I don't use the script and just set the success rate to 0% it still happens, and if I sub out the common event for a status effect, it doesn't proc. Which tells me it's something to do with the way RPG maker handles common events.
All I need is to turn on a switch and abort the battle if the skill hits, and to do nothing if it misses. Any suggestions would be awesome. TY