From 2b34924e06c0c36d77d9ccec4c4f10f1ebd16e84 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 16 九月 2025 19:03:17 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(NPC表加特长字段;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py index d1f1419..830f953 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/IpyGameDataPY.py @@ -84,6 +84,7 @@ ("DWORD", "SuckHPPer", 0), ("DWORD", "SuckHPPerDef", 0), ("dict", "SpecAttrInfo", 0), + ("BYTE", "Specialty", 0), ), "NPCStronger":( @@ -2643,7 +2644,8 @@ def GetParryRateDef(self): return self.attrTuple[23] # 抗格挡概率 DWORD def GetSuckHPPer(self): return self.attrTuple[24] # 吸血比率 DWORD def GetSuckHPPerDef(self): return self.attrTuple[25] # 抗吸血比率 DWORD - def GetSpecAttrInfo(self): return self.attrTuple[26] # 特殊属性信息 {"属性ID":值, ...} dict + def GetSpecAttrInfo(self): return self.attrTuple[26] # 特殊属性信息 {"属性ID":值, ...} dict + def GetSpecialty(self): return self.attrTuple[27] # 特长 BYTE # NPC成长表 class IPY_NPCStronger(): -- Gitblit v1.8.0