死神觉醒之灵魂冲击如何修改商店物品价格

死神觉醒之灵魂冲击如何修改商店物品价格

本站资源仅用于学习交流,禁止商业运营与违法、侵权等非法行为;资源下载后请于 24 小时内删除,违规后果由使用者自行承担。

修改商店物品价格

商店价格配置在 shop_assemble.json 文件中,通过修改 currency_type 和 currency_number 字段来调整购买所需的货币类型和数量。

文件位置

/data/publish_debug/config/shop_assemble.json

商店结构说明

该配置文件包含多个商店分类:

  • great_value_pack – 超值礼包商店
  • gold_shop – 金币商店
  • supplies_shop – 补给商店

关键字段说明

每个商品条目中的价格相关字段:

  • currency_type – 货币类型ID,对应 system_item.json 中的物品ID

  • currency_number – 货币数量,即购买价格

常用货币类型ID(来自 system_item.json):

  • 40000 – 金币

  • 40001 – 钻石

  • 40003 – 活跃币

  • 40004 – 体力

修改示例

修改 gold_shop 中 id 为 “1” 的商品,将价格改为 100 钻石:

"gold_shop": [
    {
        "id": "1",
        "type": "",
        "currency_type": "40001",
        "currency_number": "100",
        "limited_type": "1",
        "limited_number": "500"
    },
    ...
]

修改 great_value_pack 中 id 为 “6” 的商品,价格设为 500 金币:

{
    "id": "6",
    "type": "1",
    "condition": "100",
    "currency_type": "40000",
    "currency_number": "500",
    "reward_1": "",
    "limited_type": "2",
    "limited_number": "",
    "name": ""
}

其他相关字段

  • limited_type – 购买限制类型(0=无限制,1=每日限制,2=每周限制,3=其他限制)

  • limited_number – 可购买次数上限

  • condition – 购买条件(如等级要求等)

生效方式

修改完成后,重启服务端生效。

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容