Compare commits

...

52 Commits

Author SHA1 Message Date
903ac666f6 feat(config): 更新月卡和商店配置
- 调整月卡消费数量,降低部分等级的消费门槛
- 修改商店商品数量,增加某些商品的可购买量
- 更新 json2lua 工具,添加 MonthCardConfig 的处理
2025-05-18 16:46:11 +08:00
66d96187b2 feat(config): 更新月卡配置并增加新卡种
- 更新现有月卡的每日奖励、购买奖励等信息
- 新增"橙星"和"橙月"两种新卡种
- 调整部分卡种的开放条件,如"橙星"和"橙月"需要满足特定等级条件
2025-02-18 23:14:29 +08:00
aixianling
4758f7e90f feat(config): 将五福内功装备的可叠加数量设置为 999
- 修改了银针[五福]、心决[五福]、金印[五福]和檀珠[五福]的可叠加数量
- 从不可叠加(dup: 0)改为可叠加 999 个(dup: 999)
- 此修改可能旨在提高玩家携带这些装备的便利性
2025-02-18 17:43:12 +08:00
0923c0d0a7 feat(ShopConfig): 更新商城配置
- 修改商品 ID 从 1394 到 1242
- 调整限制次数从 15 次到 0 次
- 变更限制类型从 2 到 3
- 更新商品价格配置:
  - ID 从 4 改为 3
  - 类型从 4 改为 3
  - 价格从 1000000 降至 188
2025-02-13 22:08:36 +08:00
56bea22ff3 refactor(configs): 调整道具合并配置和商店配置
- 修改 ItemMergeConfig.json 中的 mergelimit 字段,将 circle 改为 zs
- 更新 ShopConfig.json 中的商品 ID、价格和限制条件
2025-02-12 23:42:37 +08:00
e3fdac04bc refactor(config): 简化 ItemMergeConfig.json 中的兑换限制提示文本
- 将 "转生等级15且官职为5珠亲王以上方可兑换" 修改为 "转生15且5珠亲王以上方可兑换"
- 优化了提示文本的简洁性,保留了原有的语义
2025-02-12 23:05:50 +08:00
4b022cde37 feat(config): 新增合成配置项
- 在 ItemMergeConfig.json 中添加了新的合成配置项,ID 为 3301
- 新增配置项包括合成条件、产出物品及限制条件等信息
- 此次更新增加了合成产出的多样性和游戏内兑换的限制条件
2025-02-12 23:00:57 +08:00
e6b4ffd952 feat(configs): 添加三阶魔器宝箱物品配置
- 在 StdItems.json 文件中添加了新的物品配置,ID 为 1394
- 该物品为三阶魔器宝箱,具有以下特点:
  - 打开后可随机获得三阶魔器中的任意一件
  - 获得随机奖励
  - 限制交易、销毁和出售
  - 设有专属图标和描述
  - 属于高级物品,具有较高的品质和稀有度
2025-02-12 22:49:57 +08:00
d7bfd860dc fix(configs): 调整物品使用次数限制
- 修改 StdItems.json 文件中物品类型 13 的使用次数限制
- 将物品类型 13 的使用次数从 1200 次降低到 120 次
- 此修改旨在平衡游戏内物品的使用频率和效果
2025-02-12 22:35:15 +08:00
3de79cc1fa refactor(ShopConfig): 移除 ShopConfig 中的冗余配置项
- 删除了 ShopConfig 中的多个冗余 shopid 配置项
- 优化了 ShopConfig 的结构,提高了配置的可读性和维护性
- 同时更新了 lua2json 工具的配置,以适应新的 ShopConfig 结构
2025-02-11 17:11:24 +08:00
c24eb74bcf fix: 修改文件名大小写 2025-02-11 14:38:04 +08:00
3c8e92a7d1 feat(config): 移除物品合成配置中的合成10次按钮
- 在 ItemMergeConfig.json 文件中,移除了两个物品配置中的 "buttontxt10" 和 "mergebutton10" 字段
- 受影响的物品 ID 为 3402 和 3404
2025-02-11 13:53:02 +08:00
3c926a4f46 refactor(configs): 调整飞鞋道具属性
- 移除 307 和 308 道具的 isShowUseBtn 属性
- 将 308 道具的 dup 属性从 9999 修改为 99
2025-01-27 23:09:04 +08:00
e4fc710ca2 fix(configs): 修正飞鞋点数道具数量
- 将道具"dup"属性值从 9999 修改为 99
- 确保双击使用时正确增加 99 点飞鞋点数
2025-01-27 23:07:56 +08:00
1a3db7fb28 fix(configs): 修改 Monster 配置中的 dropid
将 Monster 配置中 entityid 为 433 的怪物的 dropid 从 200120 修改为 200119。
2025-01-27 22:45:00 +08:00
b0591ef625 refactor(config): 调整合成系统材料消耗
- 修改了多个物品的合成条件,将材料消耗量增加了10倍
- 更新了批量设置模板,相应调整了材料消耗参数
2025-01-27 22:39:20 +08:00
55c8ae5fb6 feat(config): 新增物品合成配置
- 添加了四个新的物品合成配置项(Eid 3405 至 3408)
- 新增合成消耗金币和产出物品的数量配置
- 配置了合成按钮文本和合成次数选项
2025-01-27 20:44:33 +08:00
a79ce8d06f refactor(config): 调整物品合成配置
- 修改了多个物品的合成数量和结果物品 ID
- 优化了合成次数的设置,提高了部分物品的合成效率
- 统一了合成结果物品的类型和数量
2025-01-27 20:14:56 +08:00
608e016890 fix: 修改文件名大小写 2025-01-26 22:56:26 +08:00
b534c950b5 refactor(configs): 移除 ItemMergeConfig.json 中的冗余配置项
- 删除了 ItemMergeConfig.json 中的冗余配置项 72
- 优化配置文件结构,提高可维护性
2025-01-26 22:37:24 +08:00
c21e705ccb refactor(configs): 优化代金券使用界面配置
- 修改了多个代金券物品的 openUi 配置,统一为使用 app.RecycleWin 界面
- 调整了部分代金券的 param1 参数顺序
- 删除了两个高额代金券物品的 openUi 配置
2025-01-26 19:59:57 +08:00
e86eec51b7 feat(config): 更新道具合成配置和界面参数
- 调整多倍经验瓶和代金券的合成数量和条件
- 统一开放界面参数格式
- 新增部分道具的回收功能
2025-01-26 19:34:26 +08:00
66ab00b3a4 refactor(configs): 修改物品使用界面配置
- 将多倍经验瓶、精力水晶和各种代金券的使用界面从 BagBatchUseWin 改为 RecycleWin
- 调整 openUi 参数,增加 param1 数组以指定具体配置
- 统一代金券类物品的 RecycleWin 参数配置
2025-01-24 19:30:01 +08:00
200dc23305 feat(config): 更新公会捐赠配置并增加转换次数
- 修改 GuildDonateConfig.json 中的 limittimes 字段,从 5 调整为 50
- 在 json2lua.js 中添加 GuildDonateConfig 到处理列表,以便进行 JSON 到 Lua 的转换
2025-01-24 19:02:39 +08:00
de74aaf33a feat(config): 调整道具合并配置和新增传说级腰带
- 修改 ItemMergeConfig.json 中多个配置项的 count 值,降低合并所需的金币数量
- 在 StdItems.json 中添加新的传说级腰带"应龙破天束"的配置信息
2025-01-24 17:47:54 +08:00
9609ad494d refactor(config): 调整道具合成数量
- 修改了多个道具的合成数量,包括:
  - 道具ID 843 的合成数量从 500 调整为 200
  - 道具ID 846 的合成数量从 500 调整为 300
  - 道具ID 847 的合成数量从 500 调整为 200
  - 道具ID 844 的合成数量从 1000 调整为 200
  - 道具ID 845 的合成数量从 500 调整为 100
- 这些修改可能会影响游戏中的道具合成和平衡
2025-01-24 16:34:52 +08:00
aixianling
c808fa1764 feat(configs): 添加山海经系列装备
- 新增传说级靴子、头盔、手镯和戒指
- 每件装备都有独特的名称、图标和属性
- 所有新装备均为传说级,具有较高的战斗力和特殊效果
2025-01-24 14:32:19 +08:00
aixianling
0c1a372c03 feat(config): 调整 UpstarConfig 中类型 75 属性的值
- 将类型 75 属性的值从 1-20 调整为 100-2000
- 涉及多个 JSON 对象,包括 id 为 83828、84145、1386 等
- 此修改可能影响游戏中的某些属性或效果,需谨慎测试
2025-01-24 13:06:03 +08:00
aixianling
337a8a665b fix: 修改文件名大小写 2025-01-24 12:54:25 +08:00
aixianling
403a2f66a3 fix(configs): 修正霜华物品恢复视图的ID
- 将霜华物品恢复视图中的物品ID从 846 修改为 845
- 这个修改可能会影响到游戏中的物品恢复机制,需要确保相关功能正常运作
2025-01-24 12:30:40 +08:00
aixianling
7db9bad826 fix: 修改文件名大小写 2025-01-24 11:59:34 +08:00
aixianling
35098f622e fix(config): 调整上游价格配置
- 将商品ID为845的上游价格从2000元调整为1000元
2025-01-24 11:40:48 +08:00
aixianling
a08db6e4a1 feat(config): 添加 UpstarPriceConfig 到 JSON 转换工具范围
- 在 json2lua.js 工具中添加 UpstarPriceConfig 配置项
- 更新 UpstarPriceConfig.json,增加新商品配置
2025-01-24 11:30:56 +08:00
aixianling
53d3e0b443 feat(config): 添加烛龙日月佩合成配置及物品属性
- 在 ItemMergeConfig.json 中添加烛龙日月佩的合成配置
- 在 StdItems.json 中添加烛龙日月佩的物品属性
- 优化配置文件格式,调整部分缩进和换行
2025-01-24 10:59:52 +08:00
aixianling
1754817df3 feat(configs): 为代金券添加专门的批量使用界面
- 在 StdItems.json 文件中,为 15元、30元、50元和 80元代金券添加了 "openUi" 字段
- 指定使用 "app.BagBatchUseWin" 界面进行批量使用操作
- 此修改提高了代金券使用的便捷性,提升了用户体验
2025-01-24 09:31:14 +08:00
aixianling
5f2f15e35c refactor(configs): 更新 NPC 图像资源
- 将 NPC 图像资源从 "ch_NPC_018" 更改为 "ch_NPC_019"
- 此修改涉及 NPC 金蛇的外观,可能与春节活动相关
2025-01-24 09:19:36 +08:00
aixianling
b68afd74bf feat(Npc): 新增新春使者 NPC 标题
为新春使者 NPC 添加了新的标题配置,包括标题的位置和样式。这个改动将使 NPC 在游戏中的显示效果更加完善。

- 在 NPC 配置中添加了 Npctitle 属性
- 设置了标题的坐标位置和样式来源
2025-01-23 18:00:35 +08:00
aixianling
812bece708 refactor(configs): 更新拜年礼包活动时间和新春使者对话内容
- 将拜年礼包活动的开始时间从 2025.1.22 调整为 2025.1.28
- 更新新春使者的对话内容,增加活动时间提示
2025-01-23 17:49:11 +08:00
aixianling
ffce1d7753 refactor(configs): 修改活动类型
- 将 ActivityType 为 9 的活动修改为 ActivityType 5
- 此修改影响"拜年礼包"活动
2025-01-23 17:38:40 +08:00
aixianling
17f3c9c9a3 refactor(configs): 重新格式化 NpcFunctions.json 文件
- 使用缩进和换行重新格式化 JSON 结构,提高可读性
- 添加新的 NPC 功能配置项:
  - id 144: { "id": 144, "funcType": 5, "param1": 7, "param2": 5 }
- 优化现有配置项的格式,统一参数风格
2025-01-23 17:34:43 +08:00
aixianling
3f69a84c26 refactor(configs): 调整拜年礼包活动时间
- 将拜年礼包活动的开始时间从 2025.1.28 修改为 2025.1.22
- 保持结束时间不变,仍为 2025.2.13
2025-01-23 17:31:08 +08:00
aixianling
30d8e8b90b fix: 修改文件名大小写 2025-01-23 17:24:18 +08:00
aixianling
dd5dde1ac5 feat(configs): 添加神话年兽配置
- 在 Monster.json 文件中添加了新的年兽配置
- 新增年兽的属性包括名称、等级、经验、模型ID等
- 配置了年兽的技能和音乐效果
2025-01-23 16:02:44 +08:00
aixianling
af106594d1 feat(config): 添加疗伤药和四象丹的回收配置并调整属性值
- 在 RecyclingSettingConfig.json 中添加疗伤药和四象丹的回收配置
- 更新 StdItems.json 中疗伤药和四象丹的属性值
- 在 json2lua.js 中添加 RecyclingSettingConfig 的引用
2025-01-23 14:58:27 +08:00
aixianling
bc24c9f2b4 fix(configs): 修正 Monster 配置中多个实体的经验值
- 将多个实体的 exp 值除以 10,修正了过高的经验值
- 涉及的实体 id 包括 352、353、384、401、408、410、414、416、421 和 423
2025-01-23 13:27:09 +08:00
aixianling
c4912fd3af fix(config): 修复怪物经验配置错误
- 将多个怪物的经验值从错误的高值修正为正确的低值
- 涉及多个怪物实体,包括但不限于实体 ID 为 247、249、250 等
- 修正后的经验值通常为原值的十分之一
2025-01-23 13:24:14 +08:00
aixianling
857ba6ce45 fix: 修改文件名大小写 2025-01-23 13:13:08 +08:00
aixianling
73aad793dd build(deploy): 更新游戏配置文件
- 在打包脚本中添加 gameEui.json 文件
- 确保 gameEui.json 被正确打包到输出的 zip 文件中
2025-01-23 11:59:42 +08:00
aixianling
b6ad89a12c feat(configs): 提升神罚武器的攻击速度
- 将神罚武器的攻击速度从 10000 提高到 20000
- 此修改将显著提升神罚武器的输出能力
2025-01-23 11:50:10 +08:00
a230d62bfc fix: 修改文件名大小写 2025-01-22 22:53:07 +08:00
aixianling
6ff25a47b9 refactor(batchSetting): 重构批量设置脚本
- 将单个配置文件改为模块化设计,便于维护和扩展
- 新增 UpstarConfig.js 文件,作为独立的配置模块
- 重构 batchSetting.js 文件,使其支持多配置文件的批量处理
- 优化代码结构,提高可读性和可维护性
2025-01-22 18:03:12 +08:00
aixianling
2f55a178b5 feat(tools): 添加 JSON 转 Excel 功能
- 新增 json2excel.js 工具脚本,用于将 JSON 数据转换为 Excel 文件
- 在 package.json 中添加 xlsx 依赖
- 使用 SpecialRingConfig.json 作为示例进行转换并生成 SpecialRingConfig.xlsx 文件
2025-01-22 17:43:03 +08:00
23 changed files with 55590 additions and 219215 deletions

View File

@@ -1,10 +1,10 @@
const fs = require('fs')
const key = "UpstarConfig"
const values = [0, 1387, 10, 500, 10000, 5, 0] // 等级,物品ID,属性调整,元宝花费,升级概率
const interval = [1, 0, 15, 50, -450, 10, 1]
const num = 21
const start = () => {
const template = `"S1": {
module.exports = {
key: "UpstarConfig",
desc: "等级,物品ID,属性调整,元宝花费,升级概率",
values: [0, 1387, 10, 500, 10000, 5, 0],
interval: [1, 0, 15, 50, -450, 10, 1],
num: 21,
template: `"S1": {
"consume": [
{
"id": 4,
@@ -51,16 +51,5 @@ const start = () => {
}
],
"rate": S5
}`
const getStr = (index) => {
let str = template
values.forEach((v, i) => {
const reg = new RegExp(`S${i + 1}`, 'g')
str = str.replace(reg, v + index * interval[i])
})
return str
}
const content = Array(num).fill(1).map((e, i) => `${getStr(i)}`).join(',')
fs.writeFileSync(`./dist/${key}.txt`, content)
}
start()
}`,
};

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1,4 @@
{"2":{"staticcounttype":30,"type":2,"cost":200000,"adddonate":20,"addcion":20,"limittimes":5},"3":{"staticcounttype":31,"type":3,"cost":20,"adddonate":88,"addcion":88,"limittimes":5}}
{
"2": { "staticcounttype": 30, "type": 2, "cost": 200000, "adddonate": 20, "addcion": 20, "limittimes": 50 },
"3": { "staticcounttype": 31, "type": 3, "cost": 20, "adddonate": 88, "addcion": 88, "limittimes": 50 }
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1,173 @@
{"1":{"idx":1,"name":"免费特权","dailyAward":[],"buyAward":[{"id":474,"type":0,"count":1}],"consume":{"id":2,"type":2,"count":10000}},"2":{"idx":2,"name":"月卡","dailyAward":[{"id":302,"type":0,"count":1},{"id":269,"type":0,"count":1},{"id":261,"type":0,"count":5}],"buyAward":[{"id":249,"type":0,"count":1},{"id":302,"type":0,"count":8}],"consume":{"id":4,"type":4,"count":280}},"3":{"idx":3,"name":"大药月卡","dailyAward":[{"id":311,"type":0,"count":1}],"buyAward":[{"id":3,"type":3,"count":66},{"id":11,"type":11,"count":5}],"consume":{"id":4,"type":4,"count":1000}},"4":{"idx":4,"name":"永久卡","dailyAward":[{"id":7,"type":7,"count":10},{"id":2,"type":2,"count":200000}],"buyAward":[{"id":462,"type":0,"count":1},{"id":468,"type":0,"count":1}],"consume":{"id":4,"type":4,"count":1580}},"5":{"idx":5,"dailyAward":[],"Ybprice":2,"superRightLV":1,"name":"白卡","ViewType":2,"buyAward":[{"id":474,"type":0,"count":1},{"id":261,"type":0,"count":50},{"id":926,"type":0,"count":1},{"id":3,"type":3,"count":18},{"id":1058,"type":0,"count":1},{"id":300,"type":0,"count":2}],"pictures":["tq_p_1_1","tq_p_1_2","tq_p_1_3"],"consume":{"id":1242,"type":0,"count":2}},"6":{"idx":6,"dailyAward":[],"Ybprice":10,"superRightLV":2,"name":"绿卡","ViewType":2,"buyAward":[{"id":475,"type":0,"count":1},{"id":823,"type":0,"count":1},{"id":261,"type":0,"count":100},{"id":367,"type":0,"count":1},{"id":249,"type":0,"count":2},{"id":927,"type":0,"count":1}],"pictures":["tq_p_2_2","tq_p_2_1","tq_p_2_3"],"consume":{"id":1242,"type":0,"count":10}},"7":{"idx":7,"dailyAward":[],"Ybprice":20,"superRightLV":3,"name":"蓝卡","ViewType":2,"buyAward":[{"id":468,"type":0,"count":1},{"id":507,"type":0,"count":1},{"id":853,"type":0,"count":113},{"id":854,"type":0,"count":113},{"id":249,"type":0,"count":2},{"id":928,"type":0,"count":1}],"pictures":["tq_p_4_3","tq_p_3_1","tq_p_3_3"],"consume":{"id":1242,"type":0,"count":20}},"8":{"idx":8,"dailyAward":[],"Ybprice":70,"superRightLV":4,"name":"紫卡","ViewType":2,"buyAward":[{"id":929,"type":0,"count":1},{"id":976,"type":0,"count":1},{"id":852,"type":0,"count":30},{"id":250,"type":0,"count":2},{"id":853,"type":0,"count":450},{"id":854,"type":0,"count":450}],"pictures":["tq_p_4_2","tq_p_4_1","tq_p_3_2"],"consume":{"id":1242,"type":0,"count":70}},"9":{"idx":9,"dailyAward":[],"Ybprice":220,"superRightLV":5,"name":"橙卡","ViewType":2,"heraldid":"tq_btnt14_2","buyAward":[{"id":930,"type":0,"count":1},{"id":824,"type":0,"count":1},{"id":953,"type":0,"count":14},{"id":977,"type":0,"count":1},{"id":300,"type":0,"count":50},{"id":250,"type":0,"count":10}],"pictures":["tq_p_5_2","tq_p_5_1","tq_p_5_3"],"consume":{"id":1242,"type":0,"count":220}},"10":{"idx":10,"name":"首充卡","superRightLV":-1},"11":{"idx":11,"name":"白卡"},"12":{"idx":12,"dailyAward":[],"Ybprice":250,"superRightLV":6,"displaylimit":{"openDay":1,"vip":0},"name":"橙星","ViewType":2,"heraldid":"tq_btnt14_4","buyAward":[{"id":1073,"type":0,"count":1},{"id":1146,"type":0,"count":1},{"id":1066,"type":0,"count":300},{"id":1115,"type":0,"count":1},{"id":970,"type":0,"count":666},{"id":300,"type":0,"count":100}],"pictures":["tq_p_6_2","tq_p_6_1","tq_p_6_3"],"consume":{"id":1242,"type":0,"count":250}},"13":{"idx":13,"dailyAward":[],"Ybprice":350,"superRightLV":7,"displaylimit":{"openDay":1,"vip":0},"name":"橙月","ViewType":2,"heraldid":"tq_btnt14_3","buyAward":[{"id":1273,"type":0,"count":1},{"id":1272,"type":0,"count":1},{"id":1241,"type":0,"count":1},{"id":265,"type":0,"count":1888},{"id":970,"type":0,"count":666},{"id":852,"type":0,"count":158}],"pictures":["tq_p_7_2","tq_p_7_1","tq_p_7_3"],"consume":{"id":1242,"type":0,"count":350}}}
{
"1": { "idx": 1, "name": "免费特权", "dailyAward": [], "buyAward": [{ "id": 474, "type": 0, "count": 1 }], "consume": { "id": 2, "type": 2, "count": 10000 } },
"2": {
"idx": 2,
"name": "月卡",
"dailyAward": [
{ "id": 302, "type": 0, "count": 1 },
{ "id": 269, "type": 0, "count": 1 },
{ "id": 261, "type": 0, "count": 5 }
],
"buyAward": [
{ "id": 249, "type": 0, "count": 1 },
{ "id": 302, "type": 0, "count": 8 }
],
"consume": { "id": 4, "type": 4, "count": 280 }
},
"3": {
"idx": 3,
"name": "大药月卡",
"dailyAward": [{ "id": 311, "type": 0, "count": 1 }],
"buyAward": [
{ "id": 3, "type": 3, "count": 66 },
{ "id": 11, "type": 11, "count": 5 }
],
"consume": { "id": 4, "type": 4, "count": 1000 }
},
"4": {
"idx": 4,
"name": "永久卡",
"dailyAward": [
{ "id": 7, "type": 7, "count": 10 },
{ "id": 2, "type": 2, "count": 200000 }
],
"buyAward": [
{ "id": 462, "type": 0, "count": 1 },
{ "id": 468, "type": 0, "count": 1 }
],
"consume": { "id": 4, "type": 4, "count": 1580 }
},
"5": {
"idx": 5,
"dailyAward": [],
"Ybprice": 2,
"superRightLV": 1,
"name": "白卡",
"ViewType": 2,
"buyAward": [
{ "id": 474, "type": 0, "count": 1 },
{ "id": 261, "type": 0, "count": 50 },
{ "id": 926, "type": 0, "count": 1 },
{ "id": 3, "type": 3, "count": 18 },
{ "id": 1058, "type": 0, "count": 1 },
{ "id": 300, "type": 0, "count": 2 }
],
"pictures": ["tq_p_1_1", "tq_p_1_2", "tq_p_1_3"],
"consume": { "id": 1242, "type": 0, "count": 2 }
},
"6": {
"idx": 6,
"dailyAward": [],
"Ybprice": 10,
"superRightLV": 2,
"name": "绿卡",
"ViewType": 2,
"buyAward": [
{ "id": 475, "type": 0, "count": 1 },
{ "id": 823, "type": 0, "count": 1 },
{ "id": 261, "type": 0, "count": 100 },
{ "id": 367, "type": 0, "count": 1 },
{ "id": 249, "type": 0, "count": 2 },
{ "id": 927, "type": 0, "count": 1 }
],
"pictures": ["tq_p_2_2", "tq_p_2_1", "tq_p_2_3"],
"consume": { "id": 1242, "type": 0, "count": 6 }
},
"7": {
"idx": 7,
"dailyAward": [],
"Ybprice": 20,
"superRightLV": 3,
"name": "蓝卡",
"ViewType": 2,
"buyAward": [
{ "id": 468, "type": 0, "count": 1 },
{ "id": 507, "type": 0, "count": 1 },
{ "id": 853, "type": 0, "count": 113 },
{ "id": 854, "type": 0, "count": 113 },
{ "id": 249, "type": 0, "count": 2 },
{ "id": 928, "type": 0, "count": 1 }
],
"pictures": ["tq_p_4_3", "tq_p_3_1", "tq_p_3_3"],
"consume": { "id": 1242, "type": 0, "count": 16 }
},
"8": {
"idx": 8,
"dailyAward": [],
"Ybprice": 70,
"superRightLV": 4,
"name": "紫卡",
"ViewType": 2,
"buyAward": [
{ "id": 929, "type": 0, "count": 1 },
{ "id": 976, "type": 0, "count": 1 },
{ "id": 852, "type": 0, "count": 30 },
{ "id": 250, "type": 0, "count": 2 },
{ "id": 853, "type": 0, "count": 450 },
{ "id": 854, "type": 0, "count": 450 }
],
"pictures": ["tq_p_4_2", "tq_p_4_1", "tq_p_3_2"],
"consume": { "id": 1242, "type": 0, "count": 40 }
},
"9": {
"idx": 9,
"dailyAward": [],
"Ybprice": 220,
"superRightLV": 5,
"name": "橙卡",
"ViewType": 2,
"heraldid": "tq_btnt14_2",
"buyAward": [
{ "id": 930, "type": 0, "count": 1 },
{ "id": 824, "type": 0, "count": 1 },
{ "id": 953, "type": 0, "count": 14 },
{ "id": 977, "type": 0, "count": 1 },
{ "id": 300, "type": 0, "count": 50 },
{ "id": 250, "type": 0, "count": 10 }
],
"pictures": ["tq_p_5_2", "tq_p_5_1", "tq_p_5_3"],
"consume": { "id": 1242, "type": 0, "count": 100 }
},
"10": { "idx": 10, "name": "首充卡", "superRightLV": -1 },
"11": { "idx": 11, "name": "白卡" },
"12": {
"idx": 12,
"dailyAward": [],
"Ybprice": 250,
"superRightLV": 6,
"displaylimit": { "openDay": 1, "vip": 0 ,"zsLevel":11},
"name": "橙星",
"ViewType": 2,
"heraldid": "tq_btnt14_4",
"buyAward": [
{ "id": 1073, "type": 0, "count": 1 },
{ "id": 1146, "type": 0, "count": 1 },
{ "id": 1066, "type": 0, "count": 300 },
{ "id": 1115, "type": 0, "count": 1 },
{ "id": 970, "type": 0, "count": 666 },
{ "id": 300, "type": 0, "count": 100 }
],
"pictures": ["tq_p_6_2", "tq_p_6_1", "tq_p_6_3"],
"consume": { "id": 1242, "type": 0, "count": 250 }
},
"13": {
"idx": 13,
"dailyAward": [],
"Ybprice": 350,
"superRightLV": 7,
"displaylimit": { "openDay": 1, "vip": 0,"zsLevel":12},
"name": "橙月",
"ViewType": 2,
"heraldid": "tq_btnt14_3",
"buyAward": [
{ "id": 1273, "type": 0, "count": 1 },
{ "id": 1272, "type": 0, "count": 1 },
{ "id": 1241, "type": 0, "count": 1 },
{ "id": 265, "type": 0, "count": 1888 },
{ "id": 970, "type": 0, "count": 666 },
{ "id": 852, "type": 0, "count": 158 }
],
"pictures": ["tq_p_7_2", "tq_p_7_1", "tq_p_7_3"],
"consume": { "id": 1242, "type": 0, "count": 350 }
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -604,6 +604,19 @@
"title": "材料及药品(绿卡特权)",
"VipLV": 2
},
"401": {
"idx": 4,
"id": 4,
"tips": "一键回收疗伤药,需要绿卡会员",
"Titletips": "绿卡会员可开启该道具一键回收",
"value": 0,
"name": "疗伤药",
"showQuality": 0,
"optionid": 401,
"itemlevel": 32,
"title": "材料及药品(绿卡特权)",
"VipLV": 2
},
"5": {
"idx": 5,
"id": 4,
@@ -714,7 +727,7 @@
"tips": "一键回收7品证明需要绿卡会员",
"Titletips": "绿卡会员可开启该道具一键回收",
"value": 0,
"name": "7品证明和四象丹",
"name": "7品证明",
"showQuality": 2,
"optionid": 49,
"itemlevel": 91,
@@ -785,6 +798,19 @@
"itemlevel": 96,
"title": "材料及药品(绿卡特权)",
"VipLV": 2
},
"402": {
"idx": 19,
"id": 4,
"tips": "一键回收四象丹,需要绿卡会员",
"Titletips": "绿卡会员可开启该道具一键回收",
"value": 0,
"name": "四象丹",
"showQuality": 4,
"optionid": 402,
"itemlevel": 402,
"title": "材料及药品(绿卡特权)",
"VipLV": 2
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1,15 @@
{"1":{"1":{"Tabshop":1,"name":"功能","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"功能","sctype":2},"2":{"Tabshop":2,"name":"成长","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"成长","sctype":2},"3":{"Tabshop":3,"name":"补给","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"补给","sctype":2},"4":{"Tabshop":4,"name":"材料","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"材料","sctype":2},"5":{"Tabshop":5,"name":"时装","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"时装","sctype":2},"6":{"Tabshop":6,"name":"打宝","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"打宝","sctype":2},"7":{"Tabshop":7,"name":"圣物","title":"商城","dealtype":"兑换银两","shoptype":1,"tabname":"圣物","sctype":2}},"2":{"1":{"Tabshop":1,"name":"行会商店","dealtype":"","shoptype":2,"tabname":"行会商店","sctype":0}},"3":{"1":{"Tabshop":1,"name":"杂货","title":"小贩","dealtype":"兑换绑金","shoptype":3,"tabname":"杂货","sctype":1}},"4":{"1":{"Tabshop":1,"name":"杂货","title":"杂货铺","dealtype":"兑换绑金","shoptype":4,"tabname":"杂货","sctype":1}},"6":{"1":{"Tabshop":1,"name":"战令","dealtype":"","shoptype":6,"tabname":"战令","sctype":0}}}
{
"1": {
"1": { "Tabshop": 1, "name": "功能", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "功能", "sctype": 2 },
"2": { "Tabshop": 2, "name": "成长", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "成长", "sctype": 2 },
"3": { "Tabshop": 3, "name": "补给", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "补给", "sctype": 2 },
"4": { "Tabshop": 4, "name": "材料", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "材料", "sctype": 2 },
"5": { "Tabshop": 5, "name": "时装", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "时装", "sctype": 2 },
"6": { "Tabshop": 6, "name": "打宝", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "打宝", "sctype": 2 },
"7": { "Tabshop": 7, "name": "圣物", "title": "商城", "dealtype": "兑换银两", "shoptype": 1, "tabname": "圣物", "sctype": 2 }
},
"2": { "1": { "Tabshop": 1, "name": "行会商店", "dealtype": "", "shoptype": 2, "tabname": "行会商店", "sctype": 0 } },
"3": { "1": { "Tabshop": 1, "name": "杂货", "title": "小贩", "dealtype": "兑换绑金", "shoptype": 3, "tabname": "杂货", "sctype": 1 } },
"4": { "1": { "Tabshop": 1, "name": "杂货", "title": "杂货铺", "dealtype": "兑换绑金", "shoptype": 4, "tabname": "杂货", "sctype": 1 } },
"6": { "1": { "Tabshop": 1, "name": "战令", "dealtype": "", "shoptype": 6, "tabname": "战令", "sctype": 0 } }
}

View File

@@ -1 +1,9 @@
{"1":{"actID":1,"actIDArr":[7],"btnName":"送宝"},"2":{"actID":2,"actIDArr":[7],"btnName":"领取夺宝战宝箱"},"3":{"actID":3,"actIDArr":[8],"btnName":"送宝"},"4":{"actID":4,"actIDArr":[8],"btnName":"领取夺宝战宝箱"},"5":{"actID":5,"actIDArr":[12],"btnName":"领取独闯天涯礼包"},"6":{"actID":6,"actIDArr":[12],"btnName":"领取神速礼包"}}
{
"1": { "actID": 1, "actIDArr": [7], "btnName": "送宝" },
"2": { "actID": 2, "actIDArr": [7], "btnName": "领取夺宝战宝箱" },
"3": { "actID": 3, "actIDArr": [8], "btnName": "送宝" },
"4": { "actID": 4, "actIDArr": [8], "btnName": "领取夺宝战宝箱" },
"5": { "actID": 5, "actIDArr": [12], "btnName": "领取独闯天涯礼包" },
"6": { "actID": 6, "actIDArr": [12], "btnName": "领取神速礼包" },
"7": { "actID": 7, "actIDArr": [1818], "btnName": "拜年红包" }
}

File diff suppressed because it is too large Load Diff

View File

@@ -8064,8 +8064,8 @@
"recoverid": 100060,
"shape": 0,
"staitcAttrs": [
{ "type": 3, "value": 50 },
{ "type": 1, "value": 140 }
{ "type": 3, "value": 50000 },
{ "type": 1, "value": 14000 }
],
"suggVocation": 0,
"suitId": 0,
@@ -8097,8 +8097,8 @@
"recoverid": 100061,
"shape": 0,
"staitcAttrs": [
{ "type": 3, "value": 100 },
{ "type": 1, "value": 170 }
{ "type": 3, "value": 10000 },
{ "type": 1, "value": 17000 }
],
"suggVocation": 0,
"suitId": 0,
@@ -8130,8 +8130,8 @@
"recoverid": 100062,
"shape": 0,
"staitcAttrs": [
{ "type": 3, "value": 150 },
{ "type": 1, "value": 200 }
{ "type": 3, "value": 15000 },
{ "type": 1, "value": 20000 }
],
"suggVocation": 0,
"suitId": 0,
@@ -8155,7 +8155,7 @@
"icon": 13001,
"id": 248,
"isShowUseBtn": 1,
"itemlevel": 29,
"itemlevel": 401,
"itemlvl": 3,
"name": "疗伤药",
"packageType": 0,
@@ -8163,8 +8163,8 @@
"recoverid": 100063,
"shape": 0,
"staitcAttrs": [
{ "type": 3, "value": 200 },
{ "type": 1, "value": 380 }
{ "type": 3, "value": 20000 },
{ "type": 1, "value": 38000 }
],
"suggVocation": 0,
"suitId": 0,
@@ -9509,6 +9509,7 @@
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "多倍经验瓶(小)",
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverid": 0,
@@ -9537,7 +9538,7 @@
"id": 300,
"itemlvl": 3,
"name": "多倍经验瓶",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverid": 0,
@@ -9565,6 +9566,7 @@
"id": 301,
"itemlvl": 3,
"name": "多倍经验瓶(大)",
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverid": 0,
@@ -9594,7 +9596,7 @@
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "精力水晶",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 3, 4], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recoverid": 0,
"shape": 0,
@@ -9727,12 +9729,11 @@
"desc": "双击使用增加99飞鞋点数",
"dropBroadcast": 0,
"dropGroupid": 100516,
"dup": 9999,
"dup": 99,
"existScenes": [-1],
"forcetips": 1,
"icon": 13132,
"id": 307,
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "飞鞋",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
@@ -9757,12 +9758,11 @@
"desc": "双击使用增加999飞鞋点数",
"dropBroadcast": 0,
"dropGroupid": 100517,
"dup": 9999,
"dup": 99,
"existScenes": [-1],
"forcetips": 1,
"icon": 13132,
"id": 308,
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "飞鞋(大)",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
@@ -12275,7 +12275,7 @@
"id": 380,
"itemlvl": 3,
"name": "100元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12517,7 +12517,7 @@
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "200元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12549,7 +12549,7 @@
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "500元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12581,7 +12581,7 @@
"isShowUseBtn": 1,
"itemlvl": 3,
"name": "一千元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12612,7 +12612,7 @@
"id": 391,
"itemlvl": 3,
"name": "两千元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12643,7 +12643,7 @@
"id": 392,
"itemlvl": 3,
"name": "五千元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12674,7 +12674,7 @@
"id": 393,
"itemlvl": 3,
"name": "一万元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12705,7 +12705,7 @@
"id": 394,
"itemlvl": 3,
"name": "1元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12736,7 +12736,7 @@
"id": 395,
"itemlvl": 3,
"name": "5元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12767,7 +12767,7 @@
"id": 396,
"itemlvl": 3,
"name": "10元代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12798,6 +12798,7 @@
"id": 397,
"itemlvl": 3,
"name": "15元代金券",
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12827,6 +12828,7 @@
"id": 398,
"itemlvl": 3,
"name": "30元代金券",
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12857,6 +12859,7 @@
"id": 399,
"itemlvl": 3,
"name": "50元代金券",
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -12887,6 +12890,7 @@
"id": 400,
"itemlvl": 3,
"name": "80元代金券",
"openUi": { "param1": [1, 7, 2], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -28782,7 +28786,7 @@
"itemEff": 5,
"itemlvl": 3,
"name": "银两(小)",
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"shape": 0,
@@ -28813,7 +28817,7 @@
"itemEff": 5,
"itemlvl": 3,
"name": "银两(中)",
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"shape": 0,
@@ -28844,7 +28848,7 @@
"itemEff": 5,
"itemlvl": 3,
"name": "银两(大)",
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"shape": 0,
@@ -28875,7 +28879,7 @@
"itemEff": 5,
"itemlvl": 3,
"name": "银两(海量)",
"openUi": { "param1": [1, 3, 7], "type": 3, "view": "app.RecycleWin" },
"openUi": { "param1": [1, 7, 3], "type": 3, "view": "app.RecycleWin" },
"packageType": 2,
"recordLog": 1,
"shape": 0,
@@ -29450,7 +29454,7 @@
"icon": 13386,
"id": 853,
"isShowUseBtn": 1,
"itemlevel": 91,
"itemlevel": 402,
"itemlvl": 3,
"name": "四象青龙丹",
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
@@ -29481,7 +29485,7 @@
"icon": 13387,
"id": 854,
"isShowUseBtn": 1,
"itemlevel": 91,
"itemlevel": 402,
"itemlvl": 3,
"name": "四象白虎丹",
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
@@ -29512,7 +29516,7 @@
"icon": 13388,
"id": 855,
"isShowUseBtn": 1,
"itemlevel": 91,
"itemlevel": 402,
"itemlvl": 3,
"name": "四象朱雀丹",
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
@@ -29544,7 +29548,7 @@
"icon": 13389,
"id": 856,
"isShowUseBtn": 1,
"itemlevel": 91,
"itemlevel": 402,
"itemlvl": 3,
"name": "四象玄武丹",
"openUi": { "param1": [0, 2], "type": 3, "view": "app.RoleView" },
@@ -33462,7 +33466,7 @@
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 75, "value": 10000 },
{ "type": 75, "value": 20000 },
{ "type": 116, "value": 100 },
{ "type": 19, "value": 99 },
{ "type": 17, "value": 99 },
@@ -40504,7 +40508,7 @@
"desc": "银针[五福],四大内功装备之一,可以激活内功宝石【银花簪】的共鸣效果",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"dup": 999,
"existScenes": [-1],
"icon": 13612,
"id": 1171,
@@ -40532,7 +40536,7 @@
{ "type": 19, "value": 120 },
{ "type": 17, "value": 120 },
{ "type": 15, "value": 120 },
{ "type": 13, "value": 1200 },
{ "type": 13, "value": 120 },
{ "type": 11, "value": 120 },
{ "type": 9, "value": 120 }
],
@@ -40728,7 +40732,7 @@
"desc": "心决[五福],四大内功装备之一,可以激活内功宝石【养心玉】的共鸣效果",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"dup": 999,
"existScenes": [-1],
"icon": 13607,
"id": 1176,
@@ -40951,7 +40955,7 @@
"desc": "金印[五福],四大内功装备之一,可以激活内功宝石【金曜珠】的共鸣效果",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"dup": 999,
"existScenes": [-1],
"icon": 13602,
"id": 1181,
@@ -41174,7 +41178,7 @@
"desc": "檀珠[五福],四大内功装备之一,可以激活内功宝石【黑檀石】的共鸣效果",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"dup": 999,
"existScenes": [-1],
"icon": 13597,
"id": 1186,
@@ -45388,7 +45392,6 @@
"itemEff": 5,
"itemlvl": 3,
"name": "3万元宝代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -45421,7 +45424,6 @@
"itemEff": 5,
"itemlvl": 3,
"name": "5万元宝代金券",
"openUi": { "type": 1, "view": "app.BagBatchUseWin" },
"packageType": 2,
"recordLog": 1,
"recoverView": [{ "count": 200, "id": 2, "rate": 100, "type": 2 }],
@@ -47980,7 +47982,7 @@
"name": "霜华",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 846, "rate": 100, "type": 0 }],
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
"recoverid": 150017,
"shape": 48,
"showQuality": 5,
@@ -48091,5 +48093,294 @@
"time": 0,
"trade": 1,
"type": 2
},
"1388": {
"cdTime": 0,
"colGroup": 0,
"conds": [{ "cond": 6, "value": 1 }],
"dealPrice": 10,
"dealType": 0,
"denyDestroy": 1,
"desc": "传说级佩饰,带有烛龙的日月图案,象征烛龙的掌控之力,山海经套装之一",
"dropBroadcast": -1,
"dropEffect": 11,
"dup": 0,
"existScenes": [-1],
"icon": 13734,
"id": 1388,
"itemEff": 5,
"itemlevel": 250,
"itemlvl": 3,
"name": "烛龙日月佩",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 1319, "rate": 100, "type": 0 }],
"recoverid": 150091,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 81, "value": 3000 },
{ "type": 6, "value": 3000 },
{ "type": 70, "value": 2000 },
{ "type": 75, "value": 1500 }
],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 1,
"type": 16
},
"1389": {
"cdTime": 0,
"colGroup": 0,
"conds": [{ "cond": 6, "value": 1 }],
"dealPrice": 10,
"dealType": 0,
"desc": "传说级靴子,带有鲲鹏的扶摇图案,象征鲲鹏的飞翔之力,山海经套装之一",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"existScenes": [-1],
"forcetips": 0,
"icon": 13354,
"id": 1389,
"iseffect": 1,
"itemEff": 5,
"itemlevel": 117,
"itemlvl": 3,
"name": "鲲鹏扶摇靴",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
"recoverid": 150017,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 140, "value": 2400 },
{ "type": 80, "value": 4500 },
{ "type": 6, "value": 3000 },
{ "type": 27, "value": 1200 },
{ "type": 25, "value": 900 },
{ "type": 23, "value": 1200 },
{ "type": 21, "value": 900 },
{ "type": 19, "value": 1100 },
{ "type": 17, "value": 880 },
{ "type": 15, "value": 1100 },
{ "type": 13, "value": 880 },
{ "type": 11, "value": 1100 },
{ "type": 9, "value": 880 },
{ "type": 5, "value": 16200 }
],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 1,
"type": 9
},
"1390": {
"cdTime": 0,
"colGroup": 0,
"conds": [{ "cond": 6, "value": 1 }],
"dealPrice": 10,
"dealType": 0,
"desc": "传说级头盔,头冠上带有九尾狐的图案,象征青丘九尾狐的灵动与智慧,山海经套装之一",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"existScenes": [-1],
"forcetips": 0,
"icon": 13356,
"id": 1390,
"iseffect": 1,
"itemEff": 5,
"itemlevel": 117,
"itemlvl": 3,
"name": "青丘狐冠",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
"recoverid": 150017,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 80, "value": 10000 },
{ "type": 81, "value": 6000 },
{ "type": 6, "value": 3000 },
{ "type": 27, "value": 1200 },
{ "type": 25, "value": 900 },
{ "type": 23, "value": 1200 },
{ "type": 21, "value": 900 },
{ "type": 5, "value": 16200 }
],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 1,
"type": 3
},
"1391": {
"cdTime": 0,
"colGroup": 0,
"conds": [{ "cond": 6, "value": 1 }],
"dealPrice": 10,
"dealType": 0,
"desc": "传说级手镯,手镯上带有精卫神鸟的图案,象征精卫神鸟的坚韧不拔,山海经套装之一",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"existScenes": [-1],
"forcetips": 0,
"icon": 13352,
"id": 1391,
"iseffect": 1,
"itemEff": 5,
"itemlevel": 117,
"itemlvl": 3,
"name": "精卫填海镯",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
"recoverid": 150017,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 45, "value": 10 },
{ "type": 141, "value": 3000 },
{ "type": 64, "value": 2000 },
{ "type": 54, "value": 4000 },
{ "type": 6, "value": 3000 },
{ "type": 136, "value": 2400 },
{ "type": 19, "value": 1450 },
{ "type": 17, "value": 1200 },
{ "type": 15, "value": 1450 },
{ "type": 13, "value": 1200 },
{ "type": 11, "value": 1450 },
{ "type": 9, "value": 1200 }
],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 1,
"type": 6
},
"1392": {
"cdTime": 0,
"colGroup": 0,
"conds": [{ "cond": 6, "value": 1 }],
"dealPrice": 10,
"dealType": 0,
"desc": "传说级戒指,带有帝江的神兽图案,象征帝江的混沌之力,山海经套装之一",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"existScenes": [-1],
"forcetips": 0,
"icon": 13351,
"id": 1392,
"iseffect": 1,
"itemEff": 5,
"itemlevel": 117,
"itemlvl": 3,
"name": "帝江混沌戒",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
"recoverid": 150017,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 65, "value": 500 },
{ "type": 80, "value": 4500 },
{ "type": 75, "value": 5000 },
{ "type": 19, "value": 1100 },
{ "type": 17, "value": 880 },
{ "type": 15, "value": 1100 },
{ "type": 13, "value": 880 },
{ "type": 11, "value": 1100 },
{ "type": 9, "value": 880 }
],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 1,
"type": 7
},
"1393": {
"cdTime": 0,
"colGroup": 0,
"conds": [{ "cond": 6, "value": 1 }],
"dealPrice": 10,
"dealType": 0,
"desc": "传说级腰带,带有应龙的神兽图案,象征应龙的破天之力,山海经套装之一",
"dropBroadcast": -1,
"dropEffect": 12,
"dup": 0,
"existScenes": [-1],
"forcetips": 0,
"icon": 13355,
"id": 1393,
"iseffect": 1,
"itemEff": 5,
"itemlevel": 117,
"itemlvl": 3,
"name": "应龙破天束",
"packageType": 1,
"recordLog": 1,
"recoverView": [{ "count": 1, "id": 845, "rate": 100, "type": 0 }],
"recoverid": 150017,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [
{ "type": 80, "value": 4500 },
{ "type": 136, "value": 2500 },
{ "type": 27, "value": 1200 },
{ "type": 25, "value": 900 },
{ "type": 23, "value": 1200 },
{ "type": 21, "value": 900 },
{ "type": 19, "value": 1100 },
{ "type": 17, "value": 880 },
{ "type": 15, "value": 1100 },
{ "type": 13, "value": 880 },
{ "type": 11, "value": 1100 },
{ "type": 9, "value": 880 },
{ "type": 47, "value": 8500 }
],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 1,
"type": 8
},
"1394": {
"cdTime": 0,
"colGroup": 0,
"conds": [],
"dealPrice": 10,
"dealType": 0,
"denyDeal": 1,
"denyDestroy": 1,
"denySell": 1,
"desc": "打开后随机获得三阶魔器中的任意一件,获得随机奖励",
"dropBroadcast": 0,
"dropGroupid": 100881,
"dup": 9999,
"existScenes": [-1],
"icon": 13509,
"id": 1394,
"isShowUseBtn": 1,
"iseffect": 127,
"itemlvl": 3,
"name": "三阶魔器宝箱",
"packageType": 2,
"recordLog": 1,
"recoverid": 0,
"shape": 0,
"showQuality": 5,
"staitcAttrs": [],
"suggVocation": 0,
"suitId": 0,
"time": 0,
"trade": 3,
"type": 131
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1 +1,5 @@
{"852":{"id":2,"itemid":852,"price":50},"954":{"id":1,"itemid":954,"price":10}}
{
"852": { "id": 2, "itemid": 852, "price": 50 },
"954": { "id": 1, "itemid": 954, "price": 10 },
"845": { "id": 1, "itemid": 845, "price": 1000 }
}

View File

@@ -4,7 +4,7 @@ const zip = require("./zip.js")
const start = () => {
zip.start().then(() => {
const tar = new JSZip();
['config.xml', 'api.php', 'linuxdo.php','login.php'].forEach(e => {
['config.xml', 'api.php', 'linuxdo.php','login.php','gameEui.json'].forEach(e => {
const file = fs.readFileSync(e)
tar.file(e, file);
})

Binary file not shown.

View File

@@ -1,6 +1,8 @@
{
"dependencies": {
"jszip": "^3.10.1"
"jszip": "^3.10.1",
"lua-json": "^1.0.1",
"xlsx": "^0.18.5"
},
"scripts": {
"build": "node build.js",

146
tools/batchSetting.js Normal file
View File

@@ -0,0 +1,146 @@
const fs = require("fs");
const ringType = 6;
const YBvoucher = {
'380': '100',
'388': '200',
'389': '500',
'390': '1000',
'391': '2000',
'392': '5000',
'393': '10000',
'394': '1',
'395': '5',
'396': '10',
'397': '15',
'398': '30',
'399': '50',
'400': '80'
}
const tpls = {
SpecialRing: {
key: "SpecialRing",
desc: "戒指种类,登记,伤害加倍,元宝花费",
values: [ringType, 51, 10, 10],
interval: [0, 1, 10, 10],
num: 150,
template: {
4: `"S2": {
"attr": [
{ "value": S3, "type": 75 },
{ "value": 428, "type": 76 },
{ "value": 536, "type": 77 },
{ "value": 55, "type": 21 },
{ "value": 55, "type": 23 },
{ "value": 55, "type": 25 },
{ "value": 55, "type": 27 },
{ "value": 5000, "type": 83 }
],
"lv": S2,
"cost": [
{ "id": 4, "type": 4, "count": S4 },
{ "id": 1018, "type": 0, "count": 1000 }
],
"pos": S1
}`,
5: `"S2": {
"attr": [
{ "value": S3, "type": 75 },
{ "value": 585, "type": 76 },
{ "value": 1115, "type": 77 },
{ "value": 70, "type": 21 },
{ "value": 70, "type": 23 },
{ "value": 70, "type": 25 },
{ "value": 70, "type": 27 },
{ "value": 3400, "type": 79 }
],
"lv": S2,
"cost": [
{ "id": 1022, "type": 0, "count": 1600 },
{ "id": 4, "type": 4, "count": S4 }
],
"pos": S1
}`,
6: `"S2": {
"attr": [
{ "value": 1000, "type": 5 },
{ "value": 100, "type": 76 },
{ "value": 100, "type": 77 },
{ "value": 2500, "type": 64 },
{ "value": S3, "type": 75 }
],
"lv": S2,
"cost": [
{ "id": 1037, "type": 0, "count": 180 },
{ "id": 4, "type": 4, "count": S4 }
],
"pos": S1
}`,
}[ringType],
},
ItemMergeConfig: {
key: "ItemMergeConfig",
desc: "ID1,ID2,代金券ID,元宝数",
values: [7201, 7202,Object.keys(YBvoucher),Object.values(YBvoucher)],
interval: [2, 2],
num: Object.keys(YBvoucher).length,
template: `
"S1": {
"circle": 0,
"compose": { "id": 4, "type": 4, "count": S40 },
"index": 7,
"buttontxt10": "合成10次",
"mergebutton10": 1,
"text": "兑换",
"clicklimit": 1,
"Eid": S1,
"second_index": 1,
"table": [{ "id": S3, "type": 0, "count": 1 }],
"openserverday": 1,
"level": 1
},
"S2": {
"circle": 0,
"compose": { "id": 4, "type": 4, "count": S4000 },
"index": 7,
"buttontxt10": "合成10次",
"mergebutton10": 1,
"text": "兑换",
"clicklimit": 1,
"Eid": S2,
"second_index": 1,
"table": [{ "id": S3, "type": 0, "count": 100 }],
"openserverday": 1,
"level": 1
}
`,
},
};
const scope = [
// "UpstarConfig",
"ItemMergeConfig",
].filter(Boolean);
const start = () => {
const configs = scope.map((key) => {
return tpls[key];
});
configs.forEach((file) => {
const { key, values, interval, num, template } = file;
const getStr = (index) => {
let str = template;
values.forEach((v, i) => {
const reg = new RegExp(`S${i + 1}`, "g");
if (Array.isArray(v)) {
str = str.replace(reg, v[index]);
} else str = str.replace(reg, v + index * interval[i]);
});
return str;
};
const content = Array(num)
.fill(1)
.map((e, i) => `${getStr(i)}`)
.join(",");
fs.writeFileSync(`./dist/${key}.txt`, content);
});
};
start();

54
tools/json2excel.js Normal file
View File

@@ -0,0 +1,54 @@
const XLSX = require("xlsx");
const fs = require("fs");
const path = require("path");
const { json } = require("stream/consumers");
const { log } = require("console");
const folderPath = "./configs";
const scope = [
"SpecialRingConfig",
// "StdItems",
// "Monster",
// "ItemMergeConfig",
// "MergeConfig",
// "NpcTransConf"
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
].filter(Boolean);
function handleJson2ArrayJson(jsonData) {
const arr = [];
const findElement = (obj) => {
for (const key in obj) {
if (isNaN(key) && Object.hasOwnProperty.call(obj, key)) {
if(typeof obj[key] === "object")
obj[key] = JSON.stringify(obj[key]);
} else if (typeof obj[key] === "object") {
findElement(obj[key]);
}
}
arr.push(obj);
};
findElement(jsonData);
return arr;
}
function json2excel(jsonData, fileName) {
if (!Array.isArray(jsonData)) jsonData = Object.values(jsonData);
const data = handleJson2ArrayJson(jsonData)?.filter(Boolean);
const workbook = XLSX.utils.book_new();
const worksheet = XLSX.utils.json_to_sheet(data);
XLSX.utils.book_append_sheet(workbook, worksheet, fileName);
XLSX.writeFile(workbook, `./excels/${fileName}.xlsx`);
}
const start = () => {
const files = fs.readdirSync(folderPath);
// 过滤出所有的 JSON 文件
const jsonFiles = files.filter((file) => path.extname(file) === ".json").filter((file) => scope.map((e) => `${e}.json`).includes(file));
jsonFiles.forEach((file) => {
const json = JSON.parse(fs.readFileSync(path.join(folderPath, file), "utf8"));
const filename = path.basename(file, path.extname(file));
json2excel(json, filename);
});
};
start();

View File

@@ -7,6 +7,14 @@ const scope = [
"Monster",
"ItemMergeConfig",
"MergeConfig",
"SpecialRingConfig",
"RecyclingSettingConfig",
"ActivitiesConf",
"UpstarPriceConfig",
"UpstarConfig",
"MonthCardConfig",
// "GuildDonateConfig",
"ShopConfig",
// "NpcTransConf"
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
].filter(Boolean);

View File

@@ -1,107 +1,38 @@
const { log } = require('console');
const fs = require('fs');
const path = require('path');
const folderPath = "../luaConfigs"
const { log } = require("console");
const fs = require("fs");
const path = require("path");
const { parse } = require("lua-json");
const folderPath = "./luaConfigs";
function parseLuaConfig(luaContent) {
const config = {};
const lines = luaContent.split('\n');
let currentPath = config;
lines.forEach(line => {
line = line.trim();
if (line.startsWith('--')) return; // 跳过注释行
// 匹配键值对
const keyMatch = line.match(/^\s*(\w+)\s*=\s*(.+?),?$/);
if (keyMatch) {
const key = keyMatch[1].trim();
const value = keyMatch[2].trim();
// 尝试解析值
let parsedValue;
if (value === 'true' || value === 'false') {
parsedValue = value === 'true';
} else if (!isNaN(parseFloat(value))) {
parsedValue = parseFloat(value);
} else if (value.startsWith('"') && value.endsWith('"')) {
parsedValue = value.slice(1, -1);
} else if (value.startsWith('{') && value.endsWith('}')) {
parsedValue = parseLuaTable(value);
} else {
parsedValue = value;
}
// 处理嵌套对象
const keys = key.split('.');
keys.reduce((acc, k, i) => {
if (i === keys.length - 1) {
acc[k] = parsedValue;
} else {
acc[k] = acc[k] || {};
return acc[k];
}
}, currentPath);
}
// 匹配表(数组或对象)
const tableMatch = line.match(/^\s*(\w+)\s*=\s*{(.+?)},?$/);
if (tableMatch) {
const key = tableMatch[1].trim();
const tableContent = tableMatch[2].trim();
const parsedTable = parseLuaTable(tableContent);
// 处理嵌套对象
const keys = key.split('.');
keys.reduce((acc, k, i) => {
if (i === keys.length - 1) {
acc[k] = parsedTable;
} else {
acc[k] = acc[k] || {};
return acc[k];
}
}, currentPath);
}
});
return config;
}
// 解析Lua表数组或对象
function parseLuaTable(tableContent) {
const table = [];
const lines = tableContent.split(',').map(line => line.trim());
lines.forEach(line => {
if (line.startsWith('{')) {
const nestedTableContent = line.slice(1, -1).trim();
table.push(parseLuaTable(nestedTableContent));
} else if (line.startsWith('"') && line.endsWith('"')) {
table.push(line.slice(1, -1));
} else if (!isNaN(parseFloat(line))) {
table.push(parseFloat(line));
} else if (line === 'true' || line === 'false') {
table.push(line === 'true');
} else {
table.push(line);
}
});
return table;
}
const scope = ["Monster"]
const scope = [
// "MergeTotal",
// "ActivitiesConf",
"ShopConfig"
].filter(Boolean);
const start = () => {
const files = fs.readdirSync(folderPath);
const files = fs.readdirSync(folderPath);
// 过滤出所有的 JSON 文件
const luaFiles = files.filter(file => path.extname(file) === '.config').filter(file => scope.map(e => `${e}.config`).includes(file));
luaFiles.forEach(file => {
const luaContent = fs.readFileSync(path.join(folderPath, file), 'utf8')
const filename = path.basename(file, path.extname(file));
const luaConfig = parseLuaConfig(luaContent);
log(luaConfig)
fs.writeFileSync(`../configs/${filename}.json`, luaConfig);
});
}
start()
// 过滤出所有的 JSON 文件
const luaFiles = files.filter((file) => path.extname(file) === ".config").filter((file) => scope.map((e) => `${e}.config`).includes(file));
luaFiles.forEach((file) => {
const luaContent = fs.readFileSync(path.join(folderPath, file), "utf8");
const filename = path.basename(file, path.extname(file));
const content = luaContent.replace(filename, "").slice(1);
const luaConfig = parse(`return ${content}`);
for (const key in luaConfig) {
const item = luaConfig[key];
const arr = [];
Object.entries(item).forEach(([k, v]) => {
if (!isNaN(k) && typeof v === "object") {
arr.push(v);
}
});
if (arr.length > 0) {
luaConfig[key] = arr;
}
}
fs.writeFileSync(`./configs/${filename}.json`, JSON.stringify(luaConfig, "utf-8"));
});
};
start();