赞 | 6 |
VIP | 0 |
好人卡 | 0 |
积分 | 11 |
经验 | 0 |
最后登录 | 2022-3-24 |
在线时间 | 26 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 1122
- 在线时间
- 26 小时
- 注册时间
- 2021-2-19
- 帖子
- 30
|
- BattleManager.gainExp = function() {
- var exp = this._rewards.exp;
- $gameActors._data.forEach(function(actor) {
- actor.gainExp(exp);
- });
- };
- Game_Actors.prototype.initialize = function() {
- this._data = [];
- for (let i in $dataActors){
- this.actor(i);
- };
- };
- Game_Interpreter.prototype.command315 = function(params) {
- const value = this.operateValue(params[2], params[3], params[4]);
- if ((params[0] === 0) && (params[1] === 0)) {
- $gameActors._data.forEach(actor => {
- actor.changeExp(actor.currentExp() + value, params[5]);
- });
- return true;
- };
- this.iterateActorEx(params[0], params[1], actor => {
- actor.changeExp(actor.currentExp() + value, params[5]);
- });
- return true;
- };
复制代码 |
|