From 30dd8ff93a00ada8262a35da0ede9c2088a7fd37 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 23 九月 2025 16:52:52 +0800 Subject: [PATCH] 129 【战斗】战斗系统-服务端(诸葛亮技能; 目标细分增加攻击力最高5; buff状态增加军令19;增加效果6006增加本次技能万分比验证职业;增加效果5015集火攻击军令目标;) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py index c96bb09..8af1cb2 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/BattleObj.py @@ -699,6 +699,7 @@ self.atkDistType = 0 self.specialty = 0 # 特长 self.sex = 0 + self.job = 0 self.lv = 1 self.fightPower = 0 self.faction = 0 # 所属阵营,一般只有双方阵营, 1 或 2,发起方默认1 @@ -779,6 +780,8 @@ def SetSpecialty(self, specialty): self.specialty = specialty def GetSex(self): return self.sex def SetSex(self, sex): self.sex = sex + def GetJob(self): return self.job + def SetJob(self, job): self.job = job def GetNPCID(self): return self.npcID # 如果是NPC战斗单位,则该值非0 def SetNPCID(self, npcID): self.npcID = npcID # 设置所属的NPCID def GetHeroID(self): return self.heroID -- Gitblit v1.8.0