- Joined
- Feb 3, 2019
- Messages
- 529
- Reaction score
- 275
- First Language
- thai
- Primarily Uses
- RMMV
hi
I use some plugin that make hud and had fix value from param
and I had edit it with some sort of luck like this
the edit work well with use actor max mp stat
but it work only once
from my don't know coding guess
it because this plugin not have the update section
because the author just want to use fix ct cost
(his add on stamina system
first before I edit[1] he use 100 and no param can add)
and I see in his another actor hud system it had refresh function
(where I coppy that maxmp line method)
so what I want to request is may or may not exist I don't know
I want some code that re initialize this plugin
that it will re get the max mp stat that I edit again
thank you every one that waste your time to read this mess request post -....-
I use some plugin that make hud and had fix value from param
and I had edit it with some sort of luck like this
Code:
var _mog_ctSys_gBat_toolSysInitBattler = Game_Battler.prototype.toolSysInitBattler;
Game_Battler.prototype.toolSysInitBattler = function() {
_mog_ctSys_gBat_toolSysInitBattler.call(this);
//this._battler = $gameParty.members()[0];
//this._chrono.ct = 1000;
this._chrono.ct = 0;
this._chrono.maxct = Moghunter.chronoCT_stamina;//my edit[1]
this._chrono.ctFd = 0;
this._chrono.ctSpeed = Moghunter.chronoCT_regenerate;
this._chrono.ctDashLimit = 30;
this._chrono.ctDash = 0;
this._chrono.ctWait = 0;
this._chrono.ctWaitDash = 0;
this._chrono.ctIsDashing = false;
/*--myedit[2]--if (this._maxmp_number) {for (var i = 0; i < this._maxmp_number.length; i++) {this.removeChild(this._maxmp_number[i]);}};
if (!this._battler) {return};
this._chrono.maxct = this._battler.mmp;*/
};
but it work only once
from my don't know coding guess
it because this plugin not have the update section
because the author just want to use fix ct cost
(his add on stamina system
first before I edit[1] he use 100 and no param can add)
and I see in his another actor hud system it had refresh function
(where I coppy that maxmp line method)
so what I want to request is may or may not exist I don't know
I want some code that re initialize this plugin
that it will re get the max mp stat that I edit again
thank you every one that waste your time to read this mess request post -....-
Attachments
-
23.3 KB Views: 0
