Wonderful! Thank you very much for this. Is there a way we can have it display the fact they've been restored to the player?
EDIT: Or will they need to check to menu to see they've been healed?
It just shows up in the menu.
Is it possible with this plug in to heal a percentage of HP/MP rather than the full amount?
Thanks! I'm gonna sound dumb but, how do I make this the right type of file that MV uses for the plugins?
Paste the text in Notepad, except don't save as a text file. Instead, save as "all files" and make sure the filename ends with .js (which sets the correct file type). Then, just drop it in your project's "js" folder as normal.
Thanks so much!
EDIT: Actually, there is no "all files" thing. I've seen it before, but it doesn't appear as an option now.
tch shaz can you left me time to publish my own plugin to '3'? you are to much fast!
Oh, I actually found a site that lets you save anything as any file, so I got it.
I was going to do this, but man, you were faster! xD
Thanks a lot, it saved me some time!
Thanks a bunch for this! Out of curiosity, since so many of these Plugins require the File naming convention to be set a specific way, I have a little trouble with these pastebin .js. What should we be naming the file in order for it to work efficiently? Or is this plugin not dependant on the file name?
For some reason the actors are not healing when they level up, no matter what I do. What I am doing wrong?
@Kipplentoast, yes, it does seem to be a problem. I was starting to load all of my .js files to my server, so I could add links for downloads, but someone has written a really nice script segment that will remove the link between the file name and the plugin, so it will work with any file name. I'm going to be updating all the plugins so they use that, which should remove the issue.
@Rose Guardian, have you saved the js file with the correct name? It should be HealOnLevelUp.js
Thank you very much .
Nice plugins.
Hey Shaz,
i need your help ! i downloaded your Plugin and saved it as .js in my folder, in the game F10 I activated it, but when i go to the game and test some battles to lvl up.... my actor wont be healed.....?
what did i wrong?
i set the Parameters to 'N' because i want for the future that just the actors with lvl up will be healed not all.
in the notebox i set the 3 parameters,
so i need just this in my file if im right...?
(function() {
var parameters = PluginManager.parameters('HealOnLevelUp');
var healHP = (parameters['All HP'].toUpperCase() || '') === '';
var healMP = (parameters['All MP'].toUpperCase() || '') === '';
var healStates = (parameters['All States'].toUpperCase() || '') === '';
var _Game_Actor_levelUp = Game_Actor.prototype.levelUp;
Game_Actor.prototype.levelUp = function() {
_Game_Actor_levelUp.call(this);
if (healHP || this.actor().meta.LUHealHP) {
this._hp = this.mhp;
}
if (healMP || this.actor().meta.LUHealMP) {
this._mp = this.mmp;
}
if (healStates || this.actor().meta.LUHealStates) {
this.clearStates();
}
};
and on actors note
<LUHealHP>
<LUHealMP>
<LUHealStates>
But it does not work 🙁
I hope u , or someone can help me
Thanks 🙂 and sorry for bad english
I know from your PM that you got this sorted out.
Hi there ^^ Thank you for your hard work 🙂
Is it possible to include TP in this 🙂 ?