| 赞 | 58 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 46 |
| 经验 | 9754 |
| 最后登录 | 2026-5-20 |
| 在线时间 | 497 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 4596
- 在线时间
- 497 小时
- 注册时间
- 2013-12-7
- 帖子
- 351
 
|
//战斗初始化TP
Game_Battler.prototype.initTp = function() {
this.setTp(0);
};
//TP上限
Game_BattlerBase.prototype.maxTp = function() {
return 100;
};
//TP自然回复
Game_Battler.prototype.regenerateTp = function() {
var value = Math.floor(100 * this.trg);
this.gainSilentTp(value);
};
//受伤时获得TP
Game_Battler.prototype.chargeTpByDamage = function(damageRate) {
var value = Math.floor(50 * damageRate * this.tcr);
this.gainSilentTp(value);
};
trc 和trg值是可以设定的。 |
|