From c04a87b2679e8561dcbe3fad845e169a27f1ec46 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 22 二月 2019 17:11:37 +0800
Subject: [PATCH] 6256 子 【开发】【2.0】神秘商店开发 / 【后端】【2.0】神秘商店

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChNetSendPack.py |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChNetSendPack.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChNetSendPack.py
index a0526b3..dbc46c5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChNetSendPack.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChNetSendPack.py
@@ -436,7 +436,7 @@
     _fields_ = [
                   ("Cmd", c_ubyte),
                   ("SubCmd", c_ubyte),
-                  ("ObjType", c_ubyte),    
+                  ("ObjType", c_ubyte),    #buff的受效果者
                   ("ObjID", c_int),    
                   ("BuffType", c_ubyte),    #Buff类型  TBuffType
                   ("SkillID", c_ushort),    
@@ -445,6 +445,8 @@
                   ("Value1", c_int),    
                   ("Value2", c_int),    
                   ("Layer", c_ubyte),    #层数,不需要默认0
+                  ("OwnerID", c_int),    # buff来源者
+                  ("OwnerType", c_ubyte),    
                   ]
 
     def __init__(self):
@@ -470,6 +472,8 @@
         self.Value1 = 0
         self.Value2 = 0
         self.Layer = 0
+        self.OwnerID = 0
+        self.OwnerType = 0
         return
 
     def GetLength(self):
@@ -490,7 +494,9 @@
                                 Value:%d,
                                 Value1:%d,
                                 Value2:%d,
-                                Layer:%d
+                                Layer:%d,
+                                OwnerID:%d,
+                                OwnerType:%d
                                 '''\
                                 %(
                                 self.Cmd,
@@ -503,7 +509,9 @@
                                 self.Value,
                                 self.Value1,
                                 self.Value2,
-                                self.Layer
+                                self.Layer,
+                                self.OwnerID,
+                                self.OwnerType
                                 )
         return DumpString
 

--
Gitblit v1.8.0