From 8cf19dc965d5e8da9a7e67bc89b4ec551d41eb67 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Sun, 18 May 2025 16:17:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E6=9B=B4=E6=96=B0=E6=9C=88?= =?UTF-8?q?=E5=8D=A1=E9=85=8D=E7=BD=AE=E5=92=8C=E5=95=86=E5=9F=8E=E5=95=86?= =?UTF-8?q?=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重新组织月卡配置结构,增加新字段如 Ybprice、ViewType 等 - 更新月卡奖励和购买条件 - 调整商城商品价格: - shopid 1 的商品价格从 100 降至 5 - shopid 93 的商品价格从 88 增至 500 - shopid 120 的商品价格从 188 增至 88888 --- LogicServer/data/config/MonthCard.config | 265 ++++++++++++++--------- LogicServer/data/config/shop/shop.config | 6 +- 2 files changed, 166 insertions(+), 105 deletions(-) diff --git a/LogicServer/data/config/MonthCard.config b/LogicServer/data/config/MonthCard.config index 579118d..618b95f 100755 --- a/LogicServer/data/config/MonthCard.config +++ b/LogicServer/data/config/MonthCard.config @@ -1,102 +1,163 @@ ---AB-特权.xlsx 特权 -MonthCardConfig={ -[1] = { - idx = 1, - name = "免费特权", - consume = {type=2,id=2,count=10000}, - buyAward = {{type=0,id=474,count=1}}, - dailyAward = {}, -}, -[2] = { - idx = 2, - name = "月卡", - consume = {type=4,id=4,count=280}, - buyAward = {{type=0,id=249,count=1},{type=0,id=302,count=8}}, - dailyAward = {{type=0,id=302,count=1},{type=0,id=269,count=1},{type=0,id=261,count=5}}, -}, -[3] = { - idx = 3, - name = "大药月卡", - consume = {type=4,id=4,count=1000}, - buyAward = {{type=3,id=3,count=66},{type=11,id=11,count=5}}, - dailyAward = {{type=0,id=311,count=1}}, -}, -[4] = { - idx = 4, - name = "永久卡", - consume = {type=4,id=4,count=1580}, - buyAward = {{type=0,id=462,count=1},{type=0,id=468,count=1}}, - dailyAward = {{type=7,id=7,count=10},{type=2,id=2,count=200000}}, -}, -[5] = { - idx = 5, - name = "白卡", - superRightLV = 1, - consume = {type=0,id=1242,count=2}, - buyAward = {{type=0,id=474,count=1},{type=0,id=261,count=50},{type=0,id=926,count=1},{type=3,id=3,count=18},{type=0,id=1058,count=1},{type=0,id=300,count=2}}, - dailyAward = {}, -}, -[6] = { - idx = 6, - name = "绿卡", - superRightLV = 2, - consume = {type=0,id=1242,count=10}, - buyAward = {{type=0,id=475,count=1},{type=0,id=823,count=1},{type=0,id=261,count=100},{type=0,id=367,count=1},{type=0,id=249,count=2},{type=0,id=927,count=1}}, - dailyAward = {}, -}, -[7] = { - idx = 7, - name = "蓝卡", - superRightLV = 3, - consume = {type=0,id=1242,count=20}, - buyAward = {{type=0,id=468,count=1},{type=0,id=507,count=1},{type=0,id=853,count=113},{type=0,id=854,count=113},{type=0,id=249,count=2},{type=0,id=928,count=1}}, - dailyAward = {}, - JiShouCount = 1, -}, -[8] = { - idx = 8, - name = "紫卡", - superRightLV = 4, - consume = {type=0,id=1242,count=70}, - buyAward = {{type=0,id=929,count=1},{type=0,id=976,count=1},{type=0,id=852,count=30},{type=0,id=250,count=2},{type=0,id=853,count=450},{type=0,id=854,count=450}}, - dailyAward = {}, - JiShouCount = 2, -}, -[9] = { - idx = 9, - name = "橙卡", - superRightLV = 5, - consume = {type=0,id=1242,count=220}, - buyAward = {{type=0,id=930,count=1},{type=0,id=824,count=1},{type=0,id=953,count=14},{type=0,id=977,count=1},{type=0,id=300,count=50},{type=0,id=250,count=10},}, - dailyAward = {}, - JiShouCount = 3, -}, -[10] = { - idx = 10, - name = "首充卡", - superRightLV = -1, - AtvPaoDianPlus = 20, -}, -[11] = { - idx = 11, - name = "白卡", -}, -[12] = { - idx = 12, - name = "橙星", - superRightLV = 6, - consume = {type=0,id=1242,count=250}, - buyAward = {{type=0,id=1073,count=1},{type=0,id=1146,count=1},{type=0,id=1066,count=300},{type=0,id=1115,count=1},{type=0,id=970,count=666},{type=0,id=300,count=100},}, - dailyAward = {}, - JiShouCount = 3, -}, -[13] = { - idx = 13, - name = "橙月", - superRightLV = 7, - consume = {type=0,id=1242,count=350}, - buyAward = {{type=0,id=1273,count=1},{type=0,id=1272,count=1},{type=0,id=1241,count=1},{type=0,id=265,count=1888},{type=0,id=970,count=666},{type=0,id=852,count=158},}, - dailyAward = {}, - JiShouCount = 3, -}, -} \ No newline at end of file +MonthCardConfig = { + [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 }, + }, +} diff --git a/LogicServer/data/config/shop/shop.config b/LogicServer/data/config/shop/shop.config index 4fb4264..6dcee2b 100755 --- a/LogicServer/data/config/shop/shop.config +++ b/LogicServer/data/config/shop/shop.config @@ -6,7 +6,7 @@ ShopConfig = { shopid = 1, shoptype = 1, Tabshop = 1, - shop = { id = 4, type = 4, count = 100 }, + shop = { id = 4, type = 4, count = 5 }, buytype = {}, daylimit = 0, levellimit = 1, @@ -110,7 +110,7 @@ ShopConfig = { buytype = {}, daylimit = 0, levellimit = 1, - price = { id = 4, type = 4, count = 88 }, + price = { id = 4, type = 4, count = 500 }, }, [94] = { reincarnationlimit = 0, @@ -122,7 +122,7 @@ ShopConfig = { buytype = { { limit = { { value = 0, times = 1 } }, type = 3 } }, daylimit = 0, levellimit = 1, - price = { id = 3, type = 3, count = 188 }, + price = { id = 3, type = 3, count = 88888 }, }, }, [2] = {