From 4d0b16c36a6088988eb4d8cd6fbba0c572b4c5bb Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 19 二月 2020 16:17:10 +0800 Subject: [PATCH] 8374 【后端】【主干】通知客户端攻击封包增加专精技能(技能升级表增加专精技能编号字段) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 3 +++ PySysDB/PySysDBPY.h | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/PySysDB/PySysDBPY.h b/PySysDB/PySysDBPY.h index 2618659..349f0f9 100644 --- a/PySysDB/PySysDBPY.h +++ b/PySysDB/PySysDBPY.h @@ -1971,6 +1971,7 @@ struct tagSkillElement { DWORD _ElementSkillID; //专精技能ID + BYTE ElementSkillNum; //专精技能编号 DWORD MainSkillID; //主技能ID DWORD NeedLV; //选择需要等级 }; diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index d6069c0..8731dcf 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -1533,6 +1533,7 @@ "SkillElement":( ("DWORD", "ElementSkillID", 1), + ("BYTE", "ElementSkillNum", 0), ("DWORD", "MainSkillID", 0), ("DWORD", "NeedLV", 0), ), @@ -4729,11 +4730,13 @@ def __init__(self): self.ElementSkillID = 0 + self.ElementSkillNum = 0 self.MainSkillID = 0 self.NeedLV = 0 return def GetElementSkillID(self): return self.ElementSkillID # 专精技能ID + def GetElementSkillNum(self): return self.ElementSkillNum # 专精技能编号 def GetMainSkillID(self): return self.MainSkillID # 主技能ID def GetNeedLV(self): return self.NeedLV # 选择需要等级 -- Gitblit v1.8.0