Changing the rules of "death" status

Hello everyone,

I hope I'm posting this in the right area if not...god help me😅

Anyway, here is the issue. We are making a game in which we would like the rules of death to be different than what is hardcoded into RPG Maker MV. In our design, the enemy is not defeated when they reach 0 hp but rather they are defeated when their current hp is equal to their max hp. Another tricky thing is that for users character the rules are the same as a normal RPG reach zero and die.

Perhaps this is a bad design choice we should change. But assuming we don't, for now, this is how we are trying to implement it.

We have tried to make a system that uses "aborts battle" with enemies when their hp maxes out. These are the scripts in the troop's page we tried.

SwSOCG3.png

nrKtKsz.png


The bug that these scripts create is that when the enemies health reaches max the battle does get aborted BUT only after they have performed their move. So you could get enemies health to max and they could use a move that kills you or they run away and you actually lose the encounter.

We cannot set the condition in troops script to fire the moment their health reaches max because RPG maker MVs base setting for enemy health conditions is always X value or below.

One solution we are considering is changing the condition of death only for enemies in the javascript to match our design. I found where I think it is set up in the javascript but I'm curious if anyone has ever played with this before?

Tdwthu6.png


Do you think we should try to solve the problem this way or should we change the design? Another option would just be to somehow cause the enemies health bar to fill up visually even though on the backend it is reducing.

Any advice or thoughts would be appreciated 🙂
While I don't have a solution to your problem, I'd suggest changing the rules. Having one rule for enemies and one for players is going to confuse your players and feel contradictory (why does it work this way for them and not for ME?).

Just my $0.02.
I used Yanfly's Advanced Switches and Variables to make a move that activates exactly at max tp. You could probably do something similar with enemy hp. I'm attaching a screenshot of my event page for you. Hope this helps!
It wouldn't be difficult to add script overrides so enemies do different things to the player, but you'd also need to start them out at 0 hp, rather than max hp which would be the current setting.

How does an enemy gain HP?

What is the point of reversing things? Instead of the player doing what's needed to reduce enemy hp, they'd just need to do stuff to increase enemy hp. It's not a different tactic, and it's confusing.
I'm shocked no one mentioned Force Action! Unless I'm missing something, all you need to do is create an enemy skill that includes the "Escape" property (it's one of the options in the Skill Effects box - I think under the 'Other' tab) and it only works for enemies. Scope should be 'The User'. Then, wherever you were using 'Abort Battle' in your Troop Events above, replace it with 'Force Action' and have this enemy immediately use the Escape skill.

Enemies who Escape will not drop Gold or EXP, but I assume you're fine with this, since the player won't receive Gold or EXP when the battle is Aborted either.

By the way, a Design note - I agree with some others here that "Reverse HP" will be confusing, although if you really want to drive home that the enemies are being "pacified" or otherwise helped by the party, then I feel it is indeed worthwhile. If this is the case for most/all enemies in your game, though, it may be a good idea to request a Plugin that can handle it more gracefully (not require the enemy to take an extra forced action to escape, show visual effects that the enemy is pacified rather than removing them from battle, etc.).

Original thread: https://forums.rpgmakerweb.com/threads/changing-the-rules-of-death-status.111875/