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
1,221
Reaction score
707
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
881
Reaction score
573
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!
 

Latest Threads

Latest Posts

Latest Profile Posts

Another comic with Backstage Malak...
If you want to ask him anything, you can ask on my DeviantArt page! I'm not sure if you're allowed to do it here.
Forum tip of the day ...
If you get a temporary suspension for being a jerk to people who are trying to help you, and arguing with mods and admins, don't go making new accounts. Chances are, if you p**s us off enough to suspend you for a week, we're not going to hesitate giving you a permanent ban when you give us a reason.
E_6fAErVkAQILXu.png
I'm so close to releasing my game on steam! :blush::blush::blush:
Us:
"This game is awesome! I wish there are more games like this in the future."
Also us:
"I hate how games stopped being original and start copying other successful games."
Should've done this a few days ago but...
PRI_200136808.jpg
Rest in Peace, Sir Clive Sinclair
1940 - 2021
Entrepreneur, Technologist, Father of the Modern British Computing Industry, and protagonist of Legend of ZUN.

Without you, England's games and tech industry wouldn't be where it is.

Forum statistics

Threads
115,287
Messages
1,088,661
Members
149,915
Latest member
kunoleo
Top