From 767426c623624202acd0c97854946f4fafafe904 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 四月 2019 17:36:34 +0800 Subject: [PATCH] 6459 【后端】【2.0】缥缈仙域开发单(草园采集相关) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index e9efd34..2a9dd94 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -817,8 +817,12 @@ ("BYTE", "PrepareTime", 0), ("list", "LostHPPer", 0), ("BYTE", "MaxCollectCount", 0), + ("BYTE", "CollectResetType", 0), ("char", "CollectCountLimitNotify", 0), ("list", "CollectAward", 0), + ("dict", "CollectAppointAward", 0), + ("BYTE", "AlchemyDiffLV", 0), + ("BYTE", "NotifyCollectResult", 0), ), "Chests":( @@ -3066,16 +3070,24 @@ self.PrepareTime = 0 self.LostHPPer = [] self.MaxCollectCount = 0 + self.CollectResetType = 0 self.CollectCountLimitNotify = "" - self.CollectAward = [] + self.CollectAward = [] + self.CollectAppointAward = {} + self.AlchemyDiffLV = 0 + self.NotifyCollectResult = 0 return def GetNPCID(self): return self.NPCID # ID def GetPrepareTime(self): return self.PrepareTime # 采集耗时,秒 def GetLostHPPer(self): return self.LostHPPer # 采集掉血,[每X秒,掉血百分比] - def GetMaxCollectCount(self): return self.MaxCollectCount # 每日可采集次数,0限制 + def GetMaxCollectCount(self): return self.MaxCollectCount # 可采集次数,0无限制 + def GetCollectResetType(self): return self.CollectResetType # 采集次数重置类型,0-不重置,1-每日5点重置 def GetCollectCountLimitNotify(self): return self.CollectCountLimitNotify # 无采集次数采集提示 - def GetCollectAward(self): return self.CollectAward # 采集奖励物品, [物品ID,个数,是否绑定] + def GetCollectAward(self): return self.CollectAward # 采集奖励物品,权重列表 [[权重, [物品ID,个数,是否拍品]], ...] + def GetCollectAppointAward(self): return self.CollectAppointAward # 采集次数定制产出 {次数:[物品ID,个数,是否拍品], ...} + def GetAlchemyDiffLV(self): return self.AlchemyDiffLV # 过滤炼丹等级差,0-不过滤,>0过滤大于自身炼丹等级X级的物品 + def GetNotifyCollectResult(self): return self.NotifyCollectResult # 是否通知采集结果 # 宝箱表开启 class IPY_Chests(): -- Gitblit v1.8.0