Welcome! This tutorial will teach you how to make an ENDURE ability in your RPG Maker MV project.
Before we begin, what's a "Endure" ability?
Well, have you ever played an RPG, and your hero "dies," but a scripted event plays where that hero lives on 1 HP? A better example would be in the game OMORI where the main player character, OMORI, takes a fatal blow, and lives on 1 HP, stating that he "Did not succumb."
Basically, an endure effect is where your character lives an attack on 1 HP, and then the effect is removed for the rest of the battle. These can add tension to your battles, especially since you'd think all hope is lost, and then suddenly-- you're able to continue the fight since you forgot that your hero has plot armor! Wow!
Luckily for you, its not that hard! And there's no plugins needed, either!
The first step is to go to your TROOP menu in the settings! Here, you'll be presented with an option to edit your
troop in any way!
Now, see that little gray box above the eventing menu?
Open that drop down menu, and set the condition to
Turn, then set it to
0 X 0.
Then, create a
"Change State" event, and have the character of your choice be set with your immortality state.
Luckily for you, you lucky duck, every new RPGMV project starts you off with an Immortality state, and all the parameters match the requirements for this event! Hooray!
Now, go back to your troops page and set your party member to your immortality state of your choice!
IF THE STATE RESIST CONDITION IS NOT SET TO "Knockout" IT WILL NOT WORK.
Wait, where was I? Oh right, the troop!
Now create a new page in your troop with the
New Event Page button to the left of the menu.
Now click that "2" that pops up!
Okay, here comes the tricky part, so bare with me here, okay?
1. Set condition to Actor of your choice (In this case, my actor is Actor#1: Ethan.) to be
Trigger at 0 or less HP.
2. Do a
Change HP event for that party member (Once again, Ethan) and give them an HP recovery of your choice! I chose 1 since that's the original intention, but you can set it to whatever value you like!
3. Run another
Change State event for your character, and now have it
REMOVE your immortality script.
*. This is optional but.. Maybe put a message letting your player know that your character survived the fatal blow.
And voila! Your easy-to-use-and-troubleshoot-without-any-plugins-that-cost-a-gigazillion-dollars Endure ability is complete!
Some things to note..
You will need to put these two pages of eventing in EVERY troop you want the effect to occur in. Thankfully, the copy event page and paste event page exists, so it will just be a lot of copy-pasting rather than just having to redo everything for every encounter you want this to take place in
If you remove the Change State - Immortality event, then the party member will never be able to die! Keep this in mind because at that point you just made them immune to knockout.
If you intend to use immortality as a status effect in your game, but plan to make it have different conditions (Such as being able to wear off over the course of a few turns, or having messages, bonus effects, ect.) then make a blank immortality script SPECIFICALLY for your endure ability. Editing the immortality state for your endure script could mess everything up!
Hope this helps you in your.. uh.. survival adventures!!
Please let me know if you have any issues!
本贴来自国际rpgmaker官方论坛作者:MucusFiend处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:
https://forums.rpgmakerweb.com/threads/how-to-make-a-endure-ability-in-your-rpg-no-plugins.156908/