/*: * @plugindesc 技関連プラグイン * @author 「」 * * @help このプラグインにはプラグインコマンドはありません。 * テスト用に作成したものなので、実際に利用する場合には適当にリネームしてください */ (function(_global) { // アクターのLv, EXP, ステート、HP, MP, TPの描画 Window_SrpgStatus.prototype.drawBasicInfoActor = function(x, y) { var lineHeight = this.lineHeight(); this.drawSrpgExpRate(this._battler, x, y + lineHeight * 0); this.drawActorLevel(this._battler, x, y + lineHeight * 0); /* this.changeTextColor(this.systemColor()); this.drawText("移動力", x, y + lineHeight *1); this.resetTextColor(); */ //this.drawText(this._battler.srpgMove(), x + 96, y + lineHeight *1, 48, 'right'); this.drawActorIcons(this._battler, x, y + lineHeight * 1); this.drawActorHp(this._battler, x, y + lineHeight * 2); if ($dataSystem.optDisplayTp) { this.drawActorMp(this._battler, x, y + lineHeight * 3, 90); this.drawActorTp(this._battler, x + 96, y + lineHeight * 3, 90); } else { this.drawActorMp(this._battler, x, y + lineHeight * 3); } }; // エネミーのLv, ステート、HP, MP, TPの描画 Window_SrpgStatus.prototype.drawBasicInfoEnemy = function(x, y) { var lineHeight = this.lineHeight(); this.drawEnemyLevel(this._battler, x, y + lineHeight * 0); //this.drawText(this._battler.srpgMove(), x + 96, y + lineHeight *1, 48, 'right'); this.drawActorIcons(this._battler, x, y + lineHeight * 1); this.drawActorHp(this._battler, x, y + lineHeight * 2); if ($dataSystem.optDisplayTp) { this.drawActorMp(this._battler, x, y + lineHeight * 3, 90); this.drawActorTp(this._battler, x + 96, y + lineHeight * 3, 90); } else { this.drawActorMp(this._battler, x, y + lineHeight * 3); } }; Window_SrpgStatus.prototype.drawParameters = function(x, y) { var lineHeight = this.lineHeight(); var order =[2,4,6,3,5,7]; for (var i = 0; i < 6; i++) { //var paramId = order[i]; var paramId = i + 2; var x2 = x + 188 * (i % 2); var y2 = y + lineHeight * Math.floor(i / 2); this.changeTextColor(this.systemColor()); this.drawText(TextManager.param(paramId), x2, y2, 120); this.resetTextColor(); this.drawText(this._battler.param(paramId), x2 + 120, y2, 48, 'right'); } }; // 移動力と武器射程の描画 Window_SrpgStatus.prototype.drawSrpgParameters = function(x, y) { console.log(this._battler ); console.log(this._battler.tec); this.changeTextColor(this.systemColor()); this.drawText("技", x, y, 120); this.resetTextColor(); this.drawText(this._battler.tec, x + 120, y, 48, 'right'); //射程か移動力出したい this.changeTextColor(this.systemColor()); this.drawText("移動力", x + 188, y, 120); this.resetTextColor(); this.drawText(this._battler.srpgMove(), x + 188 + 72, y, 96, 'right'); /* this.changeTextColor(this.systemColor()); this.drawText("射程", x + 188, y, 120); this.resetTextColor(); var text = ''; if (this._battler.srpgWeaponMinRange() > 0) { text += this._battler.srpgWeaponMinRange() + '-'; } text += this._battler.srpgWeaponRange(); this.drawText(text, x + 188 + 72, y, 96, 'right'); */ }; })(this);