Yanfly Status Menu Core
Javascript/Plugin SupportThe "max" is actually based on the actors highest parameter - so it will always be full or nearly full.
If you want to have the gauges fill proportionately based on how close they are to the maximum that the parameter can be, you can save the following code as a .js file and add it to your project below Yanfly's Status Menu Core.
If you want to have the gauges fill proportionately based on how close they are to the maximum that the parameter can be, you can save the following code as a .js file and add it to your project below Yanfly's Status Menu Core.
Code:
Window_StatusInfo.prototype.calcParamRate = function(paramId) {
if (this._largestParam === this._smallestParam) return 1.0;
var rate = this._actor.param(paramId) / this._actor.paramMax(paramId)
rate *= 0.7;
rate += 0.3;
return rate;
};
Well your just full of answers today lmao
Original thread: https://forums.rpgmakerweb.com/threads/yanfly-status-menu-core.108484/
