高级玩家

- 贡献度
- 6
- 金元
- 2511
- 积分
- 275
- 精华
- 0
- 注册时间
- 2012-1-2
|
首先感谢 【新提醒】天赋板天赋修改教程(可任意添加已学习的天赋)(5月23日更新全天赋代码) - 《纷争终结者:被遗弃的孩子们》 - 3DMGAME论坛 - Powered by Discuz!
修改前记得备份game.sav
首先删除关联companyProperty 的masterIndex
DELETE FROM companyProperty where masterIndex in (select masterIndex from companyPropertyMaster where masterName like 'Mastery/%/Amount');
再删除companyPropertyMaster 的masterIndex
DELETE FROM companyPropertyMaster where masterName like 'Mastery/%/Amount';
用python在线编译器 strings = [
"AbsoluteZero",
"AbsorbingEnergy",
]
for string in strings:
sql_statement = "INSERT INTO companyPropertyMaster (masterName) VALUES ('Mastery/{}/Amount');".format(string)
print(sql_statement)
转化为
INSERT INTO companyPropertyMaster (masterName) VALUES ('Mastery/AbsoluteZero/Amount');
INSERT INTO companyPropertyMaster (masterName) VALUES ('Mastery/AbsorbingEnergy/Amount');
插入全天赋例子 完整的代码在sql语句.txt
INSERT INTO companyPropertyMaster (masterName) VALUES ('Mastery/AbsoluteZero/Amount');
插入完成后 根据companyID 一般默认为1 获取天赋
INSERT INTO companyProperty (companyID, masterIndex) SELECT 1, masterIndex FROM companyPropertyMaster where masterName like 'Mastery/%/Amount';
最后获取的天赋数量全部改为99
UPDATE companyProperty set cpValue='99' where masterIndex in (select masterIndex from companyPropertyMaster where masterName like 'Mastery/%/Amount');
训练书在item表 itemType为Statement_Mastery itemCount的值修改
设计图在item表 itemType为Statement_Module itemCount的值修改
金钱在company表 Vill的值修改
修改商人好感 companyProperty 表 先交互有数值后再搜索cpValue 数值修改即可
同理人物羁绊 rosterProperty 表 先交互有数值后再搜索rpValue 数值修改即可
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
评分
-
1
查看全部评分
-
|