From 3ed128401680ce3755dee186f48c7fb965f7aca8 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 18 九月 2025 10:11:12 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(诸葛果技能;追击支持;优化连击追击;程序内置限制单武将单次行动中每个对象累计使用技能次数20次;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py index 9cecba1..771998a 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/DB/DBStruct.py @@ -1126,6 +1126,7 @@ ('RealmLV', ctypes.c_ubyte), ('Face', ctypes.c_int), ('FacePic', ctypes.c_int), + ('ModelMark', ctypes.c_ulong), ('FamilyID', ctypes.c_ulong), ('FamilyName', ctypes.c_char * 33), ('FamilyEmblemID', ctypes.c_ushort), @@ -1152,6 +1153,7 @@ self.RealmLV = 0 self.Face = 0 self.FacePic = 0 + self.ModelMark = 0 self.FamilyID = 0 self.FamilyName = '' self.FamilyEmblemID = 0 @@ -1177,6 +1179,7 @@ self.RealmLV, pos = CommFunc.ReadBYTE(buf, pos) self.Face, pos = CommFunc.ReadDWORD(buf, pos) self.FacePic, pos = CommFunc.ReadDWORD(buf, pos) + self.ModelMark, pos = CommFunc.ReadDWORD(buf, pos) self.FamilyID, pos = CommFunc.ReadDWORD(buf, pos) self.FamilyName, pos = CommFunc.ReadString(buf, pos, 33) self.FamilyEmblemID, pos = CommFunc.ReadWORD(buf, pos) @@ -1200,6 +1203,7 @@ buf = CommFunc.WriteBYTE(buf, self.RealmLV) buf = CommFunc.WriteDWORD(buf, self.Face) buf = CommFunc.WriteDWORD(buf, self.FacePic) + buf = CommFunc.WriteDWORD(buf, self.ModelMark) buf = CommFunc.WriteDWORD(buf, self.FamilyID) buf = CommFunc.WriteString(buf, sizeof(ctypes.c_char) * 33, self.FamilyName) buf = CommFunc.WriteWORD(buf, self.FamilyEmblemID) @@ -1223,6 +1227,7 @@ length += sizeof(ctypes.c_int) length += sizeof(ctypes.c_int) length += sizeof(ctypes.c_ulong) + length += sizeof(ctypes.c_ulong) length += sizeof(ctypes.c_char) * 33 length += sizeof(ctypes.c_ushort) length += sizeof(ctypes.c_ulong) @@ -1244,6 +1249,7 @@ RealmLV = %s, Face = %s, FacePic = %s, + ModelMark = %s, FamilyID = %s, FamilyName = %s, FamilyEmblemID = %s, @@ -1264,6 +1270,7 @@ self.RealmLV, self.Face, self.FacePic, + self.ModelMark, self.FamilyID, self.FamilyName, self.FamilyEmblemID, -- Gitblit v1.8.0