dunno where to put this
I'm making a dungeon crawler like game and I need help or request where every death or wipe out from turn based battle decreases by 1 and also hp and mp party are halved.
this can be done without a script, just with troop events and common events.
in every battle (look for a base troop script to prevent the need for copies), you have a turn 0 troop event that adds an immortal state to all actors.
then one troop event conditioned to HP=0 for each actor. in that troop event you check if all actors are dead, if yes do your changes and abort battle. if no just remove the immortal state to let the actor die and continue with the rest of the battle (until it is either won or last actor death)
if actors can be killed on map, the events there need to do the same (checking party) with common events.