Ending battle by healing enemy to full HP

PantsJackson

Warper
Member
Joined
Jul 7, 2020
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
I'm new to RPG Maker, so I'm not sure if this is possible.

I'm trying to create a system where your job is to help the enemies, rather than defeat them. Is it possible to set encounters to begin with an enemy at low health, then end on healing them to full HP? If so, how?

I've looked through the system options and can't see any way to do this natively. Googling didn't yield any results either.
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
572
Reaction score
303
First Language
Poland
Primarily Uses
RMMV
On start battle you can set enemies HP to whatever you want like this:


You set this event in "Troops" tab in database

To set their HP to full at battle end there is no need because whenever battle ends their properties are reset again to values set in database.
 

Doktor_Q

I'm not a real doktor, but I am a real Q
Veteran
Joined
Aug 1, 2016
Messages
823
Reaction score
510
First Language
English
Primarily Uses
RMMV
Use troop events (the grid at the bottom half of the troops tab). You can set one to run on turn 0 that lowers the enemy's HP at the start of battle, and then have another page for each enemy that runs when they're at max HP, and "kills" them when they're full- that way you win when they're all full.

You can apply a temporary "immortal" state if you don't want them to die when they reach zero (it's state #3 when you make a new project), and just remove that before adding the "death" state for the full HP enemy.

If you learn a tiny bit of javascript, you could make it a lot simpler by using script calls in conditional statements, etc.

EDIT: Another thought on getting them to leave battle when full- in the enemy's movelist (the grid on the enemy page), have everyone Flee when their HP is at 100%, and give it priority 9, with everything else being priority 6 or below. That way, every enemy will automatically leave once their HP is full, and the battle will naturally end once there are no more enemies.

Of course, they won't give rewards innately if you use that strategy.
 

PantsJackson

Warper
Member
Joined
Jul 7, 2020
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
Use troop events (the grid at the bottom half of the troops tab). You can set one to run on turn 0 that lowers the enemy's HP at the start of battle, and then have another page for each enemy that runs when they're at max HP, and "kills" them when they're full- that way you win when they're all full.

You can apply a temporary "immortal" state if you don't want them to die when they reach zero (it's state #3 when you make a new project), and just remove that before adding the "death" state for the full HP enemy.
This worked, thank you! I had to set the event to kill them at max HP on the mob itself rather than the troop events because troop events only offers a trigger for HP that is less than or equal to.

But I figured it out. Thanks for your help!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I love these little slime battlers. Really wish I could find more animated ones :'(
The curse of retail: you get ideas, you want to make something with those ideas, but because you're always at friggin' work you can't actually do anything with them.
Quexp wrote on lumimae's profile.
Welcome! :)
Sonic and All Stars Racing Transformed (geez... what a long name) is my favorite racing game, I've spended lots of hous leveling my characters, learning new techs and polishing my runs. My friends don't want to play with me anymore because I'm too good according to them :kaoeh:
In 1314, King Edward II banned football. This is your random, useless bit of historical trivia for the day.

Forum statistics

Threads
100,628
Messages
977,944
Members
132,247
Latest member
LksTTV
Top