- Joined
- Dec 22, 2016
- Messages
- 2
- Reaction score
- 0
- First Language
- English
- Primarily Uses
Script Name+Version Number: DSR_plugin v0.1
Creator name: DSR
Introduction
Include script in plugin manager (placing .js file in the js/plugin folder naturally)
By default, it will enable the recover all on level up. Change parameter to false (or just turn plugin off or remove it) to disable this feature
Features
- When an actor levels up, all of their depleted HP MP (and whatever else) will be recovered
Screenshots
none
How to Use
See above. Pretty much just plug and play, no dependencies and shouldn't interfere with other plugins. No guarantees though.
Demo
none
Script
FAQ
Q: Why did you make this plugin?
A: I tried to find a built in way to make this happen, and couldn't find one (please tell me if I missed it) so this is what happened.
Q: Limitations on use?
A: Free to use for any purpose, no matter how offensive to god, man, or nature.
Credit and Thanks
- Author: DSR
- Mad props to Yanfly, as noted in the script I heavily emulated the conventions and style from the Yanfly series of plugins.
Author's Notes
None yet, please provide feedback.
Creator name: DSR
Introduction
Include script in plugin manager (placing .js file in the js/plugin folder naturally)
By default, it will enable the recover all on level up. Change parameter to false (or just turn plugin off or remove it) to disable this feature
Features
- When an actor levels up, all of their depleted HP MP (and whatever else) will be recovered
Screenshots
none
How to Use
See above. Pretty much just plug and play, no dependencies and shouldn't interfere with other plugins. No guarantees though.
Demo
none
Script
Code:
//=============================================================================
// DSR - plugin
// DSR_plugin.js
// I totally copied all the coding conventions from the Yanfly plugins,
// sorry for biting your style! I hope you feel, as I do, that
// imitation is the sincerest form of flattery.
//=============================================================================
var Imported = Imported || {};
Imported.DSR_plugin = true;
var DSR = DSR || {};
DSR.plugin = DSR.plugin || {};
DSR.plugin.version = 0.1;
//=============================================================================
/*:
* @plugindesc adds some functionality I wanted to see.
* @author DSR
* @param Restore all on level up
* @desc run restore all on level up? true or false
* Default: true
* @default true
* @help you're pretty much on your own with this one
*/
//=============================================================================
DSR.Parameters = PluginManager.parameters('DSR_plugin');
DSR.Param = DSR.Param || {};
DSR.Param.RestoreAllOnLevelUp = String(DSR.Parameters['Restore all on level up']);
DSR.Param.RestoreAllOnLevelUp = eval(DSR.Param.RestoreAllOnLevelUp);
DSR.plugin.levelUp = Game_Actor.prototype.levelUp;
Game_Actor.prototype.levelUp = function(){
DSR.plugin.levelUp.call(this);
if (DSR.Param.RestoreAllOnLevelUp) this.recoverAll();
};
FAQ
Q: Why did you make this plugin?
A: I tried to find a built in way to make this happen, and couldn't find one (please tell me if I missed it) so this is what happened.
Q: Limitations on use?
A: Free to use for any purpose, no matter how offensive to god, man, or nature.
Credit and Thanks
- Author: DSR
- Mad props to Yanfly, as noted in the script I heavily emulated the conventions and style from the Yanfly series of plugins.
Author's Notes
None yet, please provide feedback.
Last edited by a moderator: