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.
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?
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 🙂
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.
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?
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 🙂