demonsroots吧 关注:4,257贴子:26,383

一个修改教程

取消只看楼主收藏回复

如题


IP属地:广东来自Android客户端1楼2022-08-13 01:30回复
    打开文件夹
    www > data



    IP属地:广东来自Android客户端2楼2022-08-13 01:31
    回复
      可以修改
      Armors.json(除武器外装备)
      Weapons.json(武器)
      修改武器不具有泛用性,推荐修改装备
      接下来将以修改装备为例


      IP属地:广东3楼2022-08-13 01:34
      回复
        修改之前先备份
        修改之前先备份
        修改之前先备份
        用记事本打开Armors.json

        {"id":1,"atypeId":5,"description":"","etypeId":2,"traits":[{"code":22,"dataId":1,"value":0}],"iconIndex":129,"name":"ーーー小型盾ーーー","note":"","params":[0,0,0,10,0,0,0,0],"price":300}
        就是与小型盾相关的代码,params后面的数字为基础属性,依次对应HP,MP,物攻,防御,魔攻,魔抗,速度,运气。其中HP、MP上限为9999,其余属性上限为999。修改相对应数字即可修改数值。


        IP属地:广东4楼2022-08-13 01:40
        回复
          如我想修改决意纹章的属性
          按ctrl+f搜索决意纹章,找到对应params,修改其数值,保存。重启游戏后即完成修改





          IP属地:广东来自Android客户端5楼2022-08-13 01:47
          收起回复
            接下来讲修改装备特殊属性。事先说明我看不懂代码,我只是通过类似加减消元法解方程组看出其作用。


            IP属地:广东10楼2022-08-14 23:33
            收起回复
              还是来看这个小型盾
              {"id":1,"atypeId":5,"description":"","etypeId":2,"traits":[{"code":22,"dataId":1,"value":0}],"iconIndex":129,"name":"ーーー小型盾ーーー","note":"","params":[0,0,0,10,0,0,0,0],"price":300}
              code和dataId(也许有必要说明一下第五个字母是i)共同表示了特殊属性的种类,value则表示特殊属性的数值。顺带一提我并不知道{"code":22,"dataId":1,"value":0}表示的是什么,而且不知道的不止这一个,有很多


              IP属地:广东11楼2022-08-14 23:36
              回复
                接下来看看史莱姆短剑的特殊属性
                {"code":31,"dataId":5,"value":0},{"code":22,"dataId":1,"value":0.05},{"code":22,"dataId":4,"value":0.05},{"code":22,"dataId":2,"value":0.05},{"code":32,"dataId":4,"value":0.2}.
                虽然它的描述仅有“水属性伤害,低概率使敌人中毒”,但是它的特殊属性并不止这些
                实际上他的特殊属性:
                {"code":31,"dataId":5,"value":0}//水属性伤害
                {"code":22,"dataId":1,"value":0.05},{"code":22,"dataId":4,"value":0.05}//闪避+5%
                {"code":22,"dataId":2,"value":0.05}//暴击率+5%
                {"code":32,"dataId":4,"value":0.2}//20%概率使敌人中毒


                IP属地:广东12楼2022-08-14 23:41
                收起回复
                  懂得了这些你就可以开始当裁缝了,通过ctrl+c和ctrl+v把你想要的特殊属性复制粘贴到你想要改的装备上,然后修改后面的数字来修改数值,就可以啦


                  IP属地:广东13楼2022-08-14 23:43
                  回复
                    还是来改决意纹章,下面是它原先的代码
                    {"id:62,"atypeId":1,"description":"所有魔族们都佩戴在胸部的装饰品,小小蝴蝶结形的纹章。\n回避率+1%","etypeId":5,"traits":[{"code":22,"dataId":1,"value":0.01},{"code":22,"dataId":4,"value":0.01}],"iconIndex":222,"name":"决意纹章","note":"","params":[0,0,6,0,6,0,0,0],"price":666}


                    IP属地:广东14楼2022-08-14 23:44
                    回复
                      那么下面这些是我收集到的代码,也是我想嵌进去的属性
                      {"code":34,"dataId":0,"value":2} //普通攻击次数+2
                      {"code":22,"dataId":0,"value":1.5}//马格南手枪:命中率+150%
                      {"code":22,"dataId":2,"value":0.05}//暴击率+5%
                      {"code":22,"dataId":7,"value":0.02}//每回合回复2%HP
                      {"code":22,"dataId":8,"value":0.02}//每回合回复2%MP
                      {"code":22,"dataId":9,"value":0.1} //每回合回复10%TP


                      IP属地:广东15楼2022-08-14 23:45
                      回复
                        那么我就改成下面这样
                        注意:
                        用英文输入!
                        用英文输入!
                        用英文输入!
                        {"id:62,"atypeId":1,"description":"所有魔族们都佩戴在胸部的装饰品,小小蝴蝶结形的纹章。\n回避率+1%","etypeId":5,"traits":[{"code":22,"dataId":1,"value":1},{"code":22,"dataId":4,"value":1},{"code":34,"dataId":0,"value":6},{"code":22,"dataId":0,"value":1.5},{"code":22,"dataId":2,"value":1},{"code":22,"dataId":7,"value":1},{"code":22,"dataId":8,"value":1},{"code":22,"dataId":9,"value":1}],"iconIndex":222,"name":"决意纹章","note":"","params":[9999,9999,999,999,999,999,999,999],"price":666}
                        这样它就是
                        {"code":22,"dataId":1,"value":1},{"code":22,"dataId":4,"value":1}//+100%闪避(注:应该是两条共同表示+闪避,具体我不懂)
                        {"code":34,"dataId":0,"value":6}//攻击次数+6
                        {"code":22,"dataId":0,"value":1.5}//命中率+150%(命中率上限不是100%,但具体是多少并不清楚,由此猜测闪避率上限也不是100%)
                        {"code":22,"dataId":2,"value":1}//暴击率+100%
                        {"code":22,"dataId":7,"value":1}//每回合回复100%HP
                        {"code":22,"dataId":8,"value":1}//每回合回复100%MP
                        {"code":22,"dataId":9,"value":1} //每回合回复100%TP


                        IP属地:广东16楼2022-08-14 23:51
                        收起回复
                          然后放出我目前收集到的特殊属性代码,供大家参考
                          {"code":34,"dataId":0,"value":2} //普通攻击次数+2
                          {"code":22,"dataId":0,"value":1.5}//马格南手枪:命中率+150%
                          {"code":22,"dataId":2,"value":0.05}//暴击率+5%
                          {"code":22,"dataId":7,"value":0.02}//每回合回复2%HP
                          {"code":22,"dataId":8,"value":0.02}//每回合回复2%MP
                          {"code":22,"dataId":9,"value":0.1} //每回合回复10%TP
                          {"code":22,"dataId":1,"value":0.1},{"code":22,"dataId":4,"value":0.1}//闪避+10%
                          {"code":22,"dataId":1,"value":-0.1},{"code":22,"dataId":4,"value":-0.1}//闪避-10%
                          //按 攻击力和魔抗 规律猜的,应该是对的
                          {"code":21,"dataId":2,"value":1.1}//攻击力+10%
                          {"code":21,"dataId":3,"value":1.1}//防御力+10%
                          {"code":21,"dataId":4,"value":1.1}//魔攻+10%
                          {"code":21,"dataId":5,"value":1.1}//魔法防御+10%
                          {"code":21,"dataId":6,"value":1.1}//速度+10%
                          {"code":21,"dataId":7,"value":1.1}//运气+10%
                          {"code":14,"dataId":106,"value":1}//免疫诅咒
                          {"code":11,"dataId":2,"value":0.9},{"code":11,"dataId":3,"value":0.9},
                          {"code":11,"dataId":4,"value":0.9},{"code":11,"dataId":5,"value":0.9},
                          {"code":11,"dataId":6,"value":0.9},{"code":11,"dataId":7,"value":0.9},
                          {"code":11,"dataId":8,"value":0.9},{"code":11,"dataId":9,"value":0.9},
                          {"code":11,"dataId":10,"value":0.9},{"code":11,"dataId":11,"value":0.9},
                          {"code":11,"dataId":12,"value":0.9},{"code":11,"dataId":13,"value":0.9},
                          {"code":11,"dataId":14,"value":0.9}//钻石:全属性伤害-10%
                          {"code":11,"dataId":2,"value":0.5}//火属性伤害-50%
                          {"code":11,"dataId":4,"value":0.8}//雷属性伤害-20%
                          {"code":11,"dataId":14,"value":0.9}//龙耐性+10%(龙伤害-10%?)
                          {"code":31,"dataId":2,"value":0}//火属性伤害
                          {"code":31,"dataId":3,"value":0}//冰属性伤害
                          {"code":31,"dataId":4,"value":0}//雷属性伤害
                          {"code":31,"dataId":5,"value":0}//水属性伤害
                          {"code":31,"dataId":6,"value":0}//土属性伤害
                          {"code":31,"dataId":8,"value":0}//光属性伤害
                          {"code":31,"dataId":9,"value":0}//暗属性伤害
                          {"code":32,"dataId":4,"value":0.2}//20%概率使敌人中毒
                          {"code":32,"dataId":11,"value":0.2}//20%概率使敌人失衡(打滑)
                          {"code":32,"dataId":12,"value":0.05}//5概率使敌人气绝
                          {"code":32,"dataId":20,"value":0.2}//20%概率使敌人烧伤


                          IP属地:广东17楼2022-08-14 23:55
                          收起回复
                            不做改版的话,我觉得知道15楼的内容就可以了,如果想知道更多也可以自己研究


                            IP属地:广东18楼2022-08-14 23:56
                            回复
                              那么会了这些之后,战斗横着走,轻松过剧情是没太大问题了,但还是有问题
                              比如升级、赚fa币,都会了之后才方便你体验游戏所有内容,收集全装备全道具全cg
                              按理说应该也可以通过修改Items.json(物品)来达到对应的效果,但是我看了一下并看不懂代码,比如我想修改书给的经验值我并不知道修改哪个。
                              至于想赚钱的话可以修改装备里的price,后面的数字改成负的,买它加钱
                              当然要是你会了后面的方法(推荐),就可以不用这种方法,而且还能改fa币,改道具数量,改经验值


                              IP属地:广东19楼2022-08-15 00:06
                              收起回复