MV CGT Auto Heal (like in Persona 5)

Introduction
You know how in Persona 5, you can have items automatically used to bring your party members' HP to full, saving you time otherwise spent going through menus? That's what this plugin's for, but on a bigger scale; there's a lot you can customize about the auto healing process.

Features
  • Save your players time
  • Customize how you want the healing to happen
    • HP only? MP only? Use items or skills? The choice is yours!
  • Very simple to use; just call the Plugin Command for the type of healing you want to happen
  • Open-source
  • Free for commercial and non-commercial use
  • Documentation available in both English and Spanish

Credits
  • Programming: CG-Tespy

Terms of Use

Free for commercial and non-commercial use. Please make sure to credit me and any of the contributing coders mentioned in the plugin's Help section.

The latest versions are on the Releases Page of the Github repo. Feedback would be much appreciated.
I've released version 0.05.03 now. Some huge changes have been made to how it works: it relies on
two custom notetags to function. They are:

  • CGT_AutoHeal_Usable
    • This sets the item/skill to be usable by the system.
  • CGT_AutoHeal_Priority <num>
    • This assigns a priority value to the item/skill. Higher priority means the system uses it before others.
    • This one is optional; all the usable items/skills have default priority values of 0.
One of the screenshots added to the itch page and the OP shows them in action.


This version adds one more important thing: Skills can now be used to apply HP Healing.

Making this plugin has been quite the learning experience for me, as I get more and more familiar with how MV handles items, skills, etc.
I've just about finished the plugin. Some pretty huge changes have been made; I've removed all Plugin Params, and added several Plugin Commands for people to use it with. This made things not just easier to code, but much for flexible for the end user 🙂

Yes, this means I've cut out the feature where you can set Common Events to execute before and after the healing; RM's builtins make it needless, redundant, and as a result, inconvenient.

I'll have the official release sometime next week.
Awesome idea for a plugin! 😤

I'm running into an issue trying to impliment it, though. I get this crash when attempting to run the plugin command: CGT_AutoHeal_ApplyHeal_Items HP MP

TypeError: Cannot read property 'Apply' of null at HealHP (CGT_AutoHeal_MV.js:429)

Just a few notes about how I was testing it, in case it helps;
I had a party of two, each with 50 points of HP damage dealt to them.
I also gave myself x10 of HP and MP recovering items (recovers 20 points of HP or MP respectively).

The recovery items have the following notetags:
CGT_AutoHeal_Usable
CGT_AutoHeal_Priority = 100
Thanks for reporting that to me 🙂 Try removing the equals signs from the priority notetags. The syntax specifically requires just a single space between "_Priority" and the number.
I've updated the OP. The latest versions are now to be in the Releases Page of the plugin's Github repo. I've also translated the User Guide to Spanish.

Aaaand I think this plugin is is a good state to release...

Original thread: https://forums.rpgmakerweb.com/threads/cgt-auto-heal-like-in-persona-5.125953/