A mercy or kill system during battle.

I want there to be an option to show mercy to a monster or to kill them during battle. I also want a variable to increase each time I kill or show mercy.

I want it to be possible for a pacifist run.

I thought about having a choice come up at the end of the battle but being able to spare each individual monster would be better.

How could I go about this?

Edit: I also would like to be able to defeat the monster before the option comes up for sparing/killing.
So they still need to defeat the monster if that makes sense.
make one troop event for every enemy, conditioned on HP<10% or whatever you think appropiate. Span = turn on turn end.

in that give the player show chpice to kill or not and either kill or flee the enemy as well as control variables for counters.
If you’re using on-map encounters, you can also add the choice after the battle ends on that same event.
make one troop event for every enemy, conditioned on HP<10% or whatever you think appropiate. Span = turn on turn end.

in that give the player show chpice to kill or not and either kill or flee the enemy as well as control variables for counters.

Wouldn't it be possible to accidently kill the monster by doing too much damage? Like if you did more damage than the 10%?
Like if you did more damage than the 10%?
you misread the condition.

in the example it would activate if the enemy has less than 10% HP left. how many hits are needed to get the HP that low doesn't matter.
But it was only an example because you need a condition to trigger the question - you could also set it to HP<100%, then it would ask each turn if kill or flee
you misread the condition.

in the example it would activate if the enemy has less than 10% HP left. how many hits are needed to get the HP that low doesn't matter.
But it was only an example because you need a condition to trigger the question - you could also set it to HP<100%, then it would ask each turn if kill or flee

Yep thanks that will work perfectly! Appreciate it!
you misread the condition.

in the example it would activate if the enemy has less than 10% HP left. how many hits are needed to get the HP that low doesn't matter.
But it was only an example because you need a condition to trigger the question - you could also set it to HP<100%, then it would ask each turn if kill or flee

I gave it a try, it does seem to work however when you kill the final enemy it ends the battle without the option. Anyway to prevent the battle from ending until you've said mercy or kill?
I gave it a try, it does seem to work however when you kill the final enemy it ends the battle without the option. Anyway to prevent the battle from ending until you've said mercy or kill?
I would heal the monster, maybe remove the dead state, and then ask the question, so the battle doesn't end.

I do something similar when I want an enemy to do stuff before dying.
when you kill the final enemy it ends the battle without the option.
yes,that is the default as the battle ends without processing any open event.

the usual condition is to give all enemies an immortal state that makes them immune to death until that state is removed - which should be combined with your existing troop event.
search for "immortal state and events" to learn details on how it is done, although in your case it will have to be a litle bit more complex than usual.

Original thread: https://forums.rpgmakerweb.com/threads/a-mercy-or-kill-system-during-battle.166743/