From a7ab0247c7b8eff06ad104bee39bc035384ca43e Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 23 七月 2025 12:08:22 +0800 Subject: [PATCH] 80 【常规】背包-服务端(增加背包购买格子;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py | 54 +----------------------------------------------------- 1 files changed, 1 insertions(+), 53 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py index 8b2fc9a..c0cbe0f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py @@ -1019,10 +1019,6 @@ #流向记录变更最小金币值(小于该值的暂不记录, 仅限金币) Def_DRRecord_Min_Silver = 500000 Def_LargeTrade_Silver = 1000 * 1000 -#登陆初始储物柜格子数 -Def_PackCnt_Fashion = 1 -#登陆初始武器时装格子数 -Def_PackCnt_WeaponCoat = 8 #玩家脱离战斗状态时间(6秒) Def_PlayerLeaveBattleTick = 3000 #玩家PK多杀间隔 @@ -3334,13 +3330,7 @@ Def_Player_Dict_Wallow_LV = "GameWallowLV_34" #防沉迷等级 Def_Player_Dict_Wallow_OfflineTime = "GameWallowOfflineTime_35" #防沉迷离线累积时间 Def_Player_Dict_Wallow_OnlineTime = "GameWallowOnlineTime_36" #防沉迷在线累积时间 -Def_Player_Dict_CabinetCount_Pet = "CabinetCount_Pet_39" #宠物收纳柜 -Def_Player_Dict_CabinetCount_WeaponCoat = "CabinetCount_WeaponCoat_40" #武器收纳柜 -Def_Player_Dict_CabinetCount_DressCoat = "CabinetCount_DressCoat_41" #时装收纳柜 -Def_Player_Dict_CabinetCount_Horse = "CabinetCount_Horse_42" #马匹收纳柜 -Def_Player_Dict_PackCount_Item = "PackCount_Item_72" #玩家物品背包格子数 -Def_Player_Dict_PackCount_Warehouse = "PackCount_Warehouse_73" #仓库背包格子数 -Def_Player_Dict_PackCount_Hero = "PackCount_Hero" #武将背包格子数 +Def_Player_Dict_PackBuyCnt = "PackBuyCnt_%s" #背包已购买格子次数, 参数(背包类型) Def_Player_Dict_PlayerMapSignCnt = "PlayerMapSignCnt_75" # 大地图标记数量 Def_Player_Dict_PlayerBuyZhenQiCnt = "PlayerBuyZhenQiCnt_76" # 购买真气次数 Def_Player_Dict_PlayChangeLineID = "PlayChangeLineID" # 玩家主动切换线路记录 @@ -3485,7 +3475,6 @@ Def_PDict_FamilyWarDailyReward = "FamilyWarDailyReward" # 王者仙盟每日俸禄领取状态 Def_PDict_Family_Contribution = "FamilyContribution" #战盟贡献度 Def_PDict_HasChange_FamilyActiveToContribution = "HasChangeContribution" #战盟活跃度已转化过贡献度 -Def_PDict_PackCount_FineSoul = "PackCount_FineSoul" # 已购买精魄/符文背包格子数 Def_PDict_KillPlayerAddActive = "KillPlayerAddActiveByDay" # 杀人每日获得活跃度 Def_PDict_LoginDayCnt = "PLoginDayCnt" # 累计登陆天数 Def_PDict_LoginDayAward = "PLoginDayAward" # 累计登陆领取情况 @@ -4309,47 +4298,6 @@ Def_PDict_UnXiantaoCntEquip = "UnXiantaoCntEquip" # 累计未结算掉落的战锤数 Def_PDict_BootyDropToday = "BootyDropToday_%s" # 今日已累计掉落战利品数量,参数(itemID) -#------------------------------------------------------------------------------- -#可以从07 41封包购买的背包类型,和对应字典{背包类型:[字典key, 默认格子数]} - -#字典值列表枚举,废弃默认格子数枚举,改为读配置 -[ -Def_PlayerPackDict_Index_Key, # 字典可以 -] = range(0, 1) - -Def_Type_CanBuyPack_PlayerDict = { - #IPY_GameWorld.rptPetCabinetPet:[ - # Def_Player_Dict_CabinetCount_Pet, - # Def_PackCnt_Fashion], - - #IPY_GameWorld.rptCabinetWeaponCoat:[ - # Def_Player_Dict_CabinetCount_WeaponCoat, - # Def_PackCnt_WeaponCoat], - - #IPY_GameWorld.rptCabinetDressCoat:[ - # Def_Player_Dict_CabinetCount_DressCoat, - # Def_PackCnt_Fashion], - - #IPY_GameWorld.rptCabinetHorse:[ - # Def_Player_Dict_CabinetCount_Horse, - # Def_PackCnt_Fashion], - - IPY_GameWorld.rptItem:[ - Def_Player_Dict_PackCount_Item, - 0], - - IPY_GameWorld.rptWarehouse:[ - Def_Player_Dict_PackCount_Warehouse, - 0], - - ShareDefine.rptHero:[ - Def_Player_Dict_PackCount_Hero, - 0], - - #IPY_GameWorld.rptFineSoulSlot:[ - # Def_PDict_PackCount_FineSoul, - # Def_PlayerFirstLoginOpenFineSoulSlot], - } #------------------------------------------------------------------------------- #物品效果(ID或指定类型)对应的属性计算信息 {效果(ID/指定类型):[[属性索引, ...], 是否基础属性,(非)线性]} -- Gitblit v1.8.0