2 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.

I don't know the stigma around using AI-made plugins for a game, I personally 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

My reaction to @Mr-Bad 's cover of "THE OG" from @TheLinguini 's "The Underwalk".

I love this game.

You're never gonna believe this:

I DID SOMETHING!!!!!!!! (great heavens that quality is bad.)

🩸 Chara’s Fate — CHAPTER VIII IS OUT

@Mr-Bad It sure ain't my best work, but I'm still proud! :D

My cover of the menu theme for GUIDANCE by @LUKELCS .

I would pay money to see bro's reaction to this.

Did some concept art last night.

First one is a bird enemy, second is a NPC for a town later in the game.

Shadow City - Close Quarters Stroll

Jungling through the Jungle Dungeon

The Flipside - Development Update! 5/18/25