21 days 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

TOLD YOU I'D STRANGLE HIM

#GJAsks what game do I wish I could for the first time again?

The pictures are my list. That's all.

Made some new assets for the second area in The Flipside to ease myself back in after the chaos of the weekend.

What do ya think?

Finally... After putting it off for so long, I am done with my game, Turnaround!

"The Flipside" is a story driven JRPG about a girl falling into another world.

I've talked a little bit about this one but thought I'd get it officially revealed.

Oh yeah! This is also a Q&A for the game! Ask any questions you might have!

#TheFlipside

Heres a preview for the next update

Welp, it's my birthday. Have some art I guess.

#HandReveal

Wanna reveal your left hand?!?!?11??!? Post your left hand with #HandReveal to spread the word!

@ElectroStudios @Synth-Studios here THE ALPHA FOR THE DEEP WITHIN IS OUT!