hxp
2025-11-28 eb63e35d04e6d7bd55ada7f6dfce2567a8577edb
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/TurnFight.py
@@ -235,8 +235,15 @@
            GameWorld.DebugAnswer(curPlayer, "--- %s%s" % (objName, "" if batObj.IsAlive() else " [被击杀]"))
            GameWorld.DebugAnswer(curPlayer, "HP:%s/%s" % (batObj.GetHP(), batObj.GetMaxHP()))
            GameWorld.DebugAnswer(curPlayer, "攻:%s,防:%s,怒:%s" % (batObj.GetAtk(), batObj.GetDef(), batObj.GetXP()))
            attrStr = ""
            attrDict = batObj.GetBatAttrDict()
            GameWorld.DebugAnswer(curPlayer, "属性:%s" % attrDict)
            attrIDList = attrDict.keys()
            attrIDList.sort()
            for attrID in attrIDList:
                attrValue = attrDict[attrID]
                if attrValue:
                    attrStr += "%s=%s;" % (attrID, attrValue)
            GameWorld.DebugAnswer(curPlayer, "属性:%s" % attrStr)
            skillMgr = batObj.GetSkillManager()
            skillIDList = skillMgr.GetSkillIDList()
            GameWorld.DebugAnswer(curPlayer, "技能: %s,%s" % (len(skillIDList), skillIDList))
@@ -244,8 +251,9 @@
            GameWorld.DebugAnswer(curPlayer, "Buff: %s" % buffMgr.GetBuffCount())
            for index in range(buffMgr.GetBuffCount()):
                buff = buffMgr.GetBuffByIndex(index)
                GameWorld.DebugAnswer(curPlayer, "ID:%s,SkillID:%s,回合:%s,层:%s,V:%s,来源:%s,光环:%s"
                                      % (buff.GetBuffID(), buff.GetSkillID(), buff.GetRemainTime(), buff.GetLayer(),
                buffName = GameWorld.CodeToGbk(buff.GetSkillData().GetSkillName())
                GameWorld.DebugAnswer(curPlayer, "ID:%s,%s(%s),回合:%s,层:%s,V:%s,来源:%s,光环:%s"
                                      % (buff.GetBuffID(), buffName, buff.GetSkillID(), buff.GetRemainTime(), buff.GetLayer(),
                                         [buff.GetValue1(), buff.GetValue2(), buff.GetValue3()], buff.GetOwnerID(), buff.GetHaloObjIDList()
                                         ))