From 061310cd9cb46af344fa429b5f3f605f7bbb5046 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期一, 19 十一月 2018 19:21:40 +0800 Subject: [PATCH] 4740 子 【开发】【1.3】通过多倍修行点额外获得的修行点有上限限制(每日) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py index eab7e6f..76a608e 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChPyNetSendPack.py @@ -5197,6 +5197,7 @@ EndtDate = "" #(char EndtDate[10])// 结束日期 y-m-d Multiple = 0 #(BYTE Multiple)// 倍数 LimitLV = 0 #(WORD LimitLV)// 限制等级 + LimitPoint = 0 #(DWORD LimitPoint)// 限制获得修行点 data = None def __init__(self): @@ -5212,6 +5213,7 @@ self.EndtDate,_pos = CommFunc.ReadString(_lpData, _pos,10) self.Multiple,_pos = CommFunc.ReadBYTE(_lpData, _pos) self.LimitLV,_pos = CommFunc.ReadWORD(_lpData, _pos) + self.LimitPoint,_pos = CommFunc.ReadDWORD(_lpData, _pos) return _pos def Clear(self): @@ -5223,6 +5225,7 @@ self.EndtDate = "" self.Multiple = 0 self.LimitLV = 0 + self.LimitPoint = 0 return def GetLength(self): @@ -5232,6 +5235,7 @@ length += 10 length += 1 length += 2 + length += 4 return length @@ -5242,6 +5246,7 @@ data = CommFunc.WriteString(data, 10, self.EndtDate) data = CommFunc.WriteBYTE(data, self.Multiple) data = CommFunc.WriteWORD(data, self.LimitLV) + data = CommFunc.WriteDWORD(data, self.LimitPoint) return data def OutputString(self): @@ -5250,14 +5255,16 @@ StartDate:%s, EndtDate:%s, Multiple:%d, - LimitLV:%d + LimitLV:%d, + LimitPoint:%d '''\ %( self.Head.OutputString(), self.StartDate, self.EndtDate, self.Multiple, - self.LimitLV + self.LimitLV, + self.LimitPoint ) return DumpString @@ -11089,6 +11096,7 @@ ("RealmPoint", c_int), # 可领取修行点 ("StageIndex", c_ubyte), # 当前阶段索引 ("AwardRecord", c_int), # 领奖记录 按位存储 + ("ExtraPoint", c_int), # 多倍活动获得的额外修行点 ] def __init__(self): @@ -11109,6 +11117,7 @@ self.RealmPoint = 0 self.StageIndex = 0 self.AwardRecord = 0 + self.ExtraPoint = 0 return def GetLength(self): @@ -11124,7 +11133,8 @@ CurValue:%d, RealmPoint:%d, StageIndex:%d, - AwardRecord:%d + AwardRecord:%d, + ExtraPoint:%d '''\ %( self.Cmd, @@ -11132,7 +11142,8 @@ self.CurValue, self.RealmPoint, self.StageIndex, - self.AwardRecord + self.AwardRecord, + self.ExtraPoint ) return DumpString -- Gitblit v1.8.0