hxp
7 天以前 2b34924e06c0c36d77d9ccec4c4f10f1ebd16e84
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Attack/TurnAttack.py
@@ -758,7 +758,7 @@
            if not npcDataEx:
                continue
            if not heroIpyData:
                specialty = 0
                specialty = npcDataEx.GetSpecialty()
                atkDistType = npcDataEx.GetAtkDistType()
                objName = npcDataEx.GetNPCName()
                country = npcDataEx.GetCountry()
@@ -814,6 +814,8 @@
            continue
        GameWorld.DebugLog("    重置武将: %s, HP:%s/%s, XP:%s" % (objName, batObj.GetHP(), batObj.GetMaxHP(), batObj.GetXP()))
        
        batObj.TurnReset()
        # 清除buff
        buffMgr = batObj.GetBuffManager()
        buffMgr.ClearBuff()