请问为什么我的角色每次受到伤害时TP都增加25.没找到在哪里修改。
JS 代码 下载
- Game_Battler.prototype.gainTp = function(value) {
- this._result.tpDamage = -value;
- this.setTp(this.tp + value);
- };
复制代码
JS 代码 下载
- // Change TP
- Game_Interpreter.prototype.command326 = function() {
- var value = this.operateValue(this._params[2], this._params[3], this._params[4]);
- this.iterateActorEx(this._params[0], this._params[1], function(actor) {
- actor.gainTp(value);
- }.bind(this));
- return true;
- };
复制代码
是在哪里改呢?
本帖来自P1论坛作者grammy416,因Project1站服务器在国外有时候访问缓慢不方便作者交流学习,经联系P1站长fux2同意署名转载一起分享游戏制作经验,共同为国内独立游戏作者共同创造良好交流环境,原文地址: https://rpg.blue/forum.php?mod=viewthread&tid=386428 若有侵权,发帖作者可联系底部站长QQ在线咨询功能删除,谢谢。 |