5 months ago

RPG Maker MV Plugin - Full Recover on Level Up.


Code:

		
			/*:
 * @target MZ
 * @plugindesc Fully restores HP and MP when a character levels up.
 * @help
 * This plugin automatically restores a character's HP and MP to full
 * when they level up. No configuration required.
 * 
 * Free for commercial and non-commercial use.
 */

(() => {
    const _Game_Actor_levelUp = Game_Actor.prototype.levelUp;
    
    Game_Actor.prototype.levelUp = function() {
        _Game_Actor_levelUp.call(this);
        this.recoverAll();  // Restore HP and MP
    };
})();
		
	

This was made by ChatGPT because I needed one for The Flipside and couldn't find one that wasn't paid or didn't need me to reach out to the plugin creator.

The way you get this working in RPG Maker is by copying this text into a note document and saving that note document as a .js file, then putting it in the plugins folder of your RPG Maker project.

I don't know the stigma around using AI-made plugins for a game. I have a heavy dislike for people using AI-made art and music (though I have done it myself once).

Enjoy!



6 comments

Loading...

Next up

I swear I haven't forgotten about this game, it'll come out someday.

Mannequin.

I drew some character's in the OMORI artstyle!

[Character list in article!]

TGR'S DEMO IS OUT!!! #rpg #rpgmaker

New promo poster for The Flipside. I'm pretty happy with it!

ROOMS UNTOLD | RELEASE VER IS FINISHED

UPDATE : THE GAME IS NOW OUT!! :D

[READ ARTICLE]

Some fanart of Kyle x Violet from @Mr-Bad 's "Outcasts".

@Mr-Bad exposed my character design >:(

MAKE friends and foes, SAVE your friends or EXPLORE the unseen... because DRUG STORY's tomorrow, with the all new CHAPTER 4!

Available August 27th on Windows, MacOS and Linux featuring 4 chapters.

@gamejolt please stop putting posts from people I'm NOT following in the "FOLLOWING" tab. It's getting very annoying.