| 
 
| 赞 | 58 |  
| VIP | 37 |  
| 好人卡 | 59 |  
| 积分 | 12 |  
| 经验 | 66255 |  
| 最后登录 | 2023-5-29 |  
| 在线时间 | 1017 小时 |  
 Lv3.寻梦者 
	梦石0 星屑1232 在线时间1017 小时注册时间2011-4-30帖子1516 | 
| 本帖最后由 汪汪 于 2015-12-28 14:24 编辑 
 读取存档时进行操作呗.
 具体怎么操作
 大概可以调用一下这个方法
 或者改一改
 
 大概可以在这里添加
 
 Game_Actor.prototype.initSkills2 = function() {
 //this._skills = [];
 this.currentClass().learnings.forEach(function(learning) {
 if (learning.level <= this._level) {
 this.learnSkill(learning.skillId);
 }
 }, this);
 };
 
 
 
 
 DataManager.loadGameWithoutRescue = function(savefileId) {
 var globalInfo = this.loadGlobalInfo();
 if (this.isThisGameFile(savefileId)) {
 var json = StorageManager.load(savefileId);
 this.createGameObjects();
 this.extractSaveContents(JsonEx.parse(json));
 
 //这里已经读取了内容,循环 那些人物 ,然后使用那个 .initSkills2  方法就好
 $gameParty._actors.map(function(id) {
 $gameActors.actor(id).initSkills2()
 });
 
 
 this._lastAccessedId = savefileId;
 return true;
 } else {
 return false;
 }
 };
 纯脑补,因为没做游戏呢........
 | 
 |