可以去改Sprite_Gauge的显示逻辑,比如说
Sprite_Gauge.prototype.currentValue = function() { if (this._battler) { switch (this._statusType) { case "hp": return this._battler.hp; case "mp": return this._battler.remainingMp? this._battler.remainingMp() : this._battler.mp; case "tp": return this._battler.remainingTp? this._battler.remainingTp() : this._battler.tp; case "time": return this._battler.tpbChargeTime(); } } return NaN; };
Sprite_Gauge.prototype.currentValue = function() {
if (this._battler) {
switch (this._statusType) {
case "hp":
return this._battler.hp;
case "mp":
return this._battler.remainingMp? this._battler.remainingMp() : this._battler.mp;
case "tp":
return this._battler.remainingTp? this._battler.remainingTp() : this._battler.tp;
case "time":
return this._battler.tpbChargeTime();
}
}
return NaN;
};
(只是举个例子。这样改的话技能释放时会炸,得再加点判断让它只在选择行动时显示remainingMp/Tp)
再花哨点的话给它额外加一层数值槽位来显示这项信息都可以。
显示这块儿每个人都有自己的喜好所以你可能得自己动动手(? |