| | |
| | | continue
|
| | | batFaction = turnFight.getBatFaction(faction)
|
| | | batLineup = batFaction.getBatlineup(1)
|
| | | posNumList = [pNum] if pNum else batLineup.posObjIDDict.keys()
|
| | | posObjIDDict = batLineup.getPosObjIDDict()
|
| | | posNumList = [pNum] if pNum else posObjIDDict.keys()
|
| | | for posNum in posNumList:
|
| | | objID = batLineup.posObjIDDict.get(posNum)
|
| | | objID = posObjIDDict.get(posNum)
|
| | | batObj = batObjMgr.getBatObj(objID)
|
| | | if not batObj:
|
| | | GameWorld.DebugAnswer(curPlayer, "对象不存在:阵营:%s,位置:%s" % (faction, posNum))
|
| | |
| | | batObjMgr = BattleObj.GetBatObjMgr()
|
| | | batFaction = turnFight.getBatFaction(faction)
|
| | | batLineup = batFaction.getBatlineup(1)
|
| | | posObjIDDict = batLineup.getPosObjIDDict()
|
| | | for posNum in posNumList:
|
| | | objID = batLineup.posObjIDDict.get(posNum)
|
| | | objID = posObjIDDict.get(posNum)
|
| | | if not objID:
|
| | | continue
|
| | | batObj = batObjMgr.getBatObj(objID)
|
| | |
| | | batObjMgr = BattleObj.GetBatObjMgr()
|
| | | batFaction = turnFight.getBatFaction(faction)
|
| | | batLineup = batFaction.getBatlineup(1)
|
| | | objID = batLineup.posObjIDDict.get(posNum)
|
| | | objID = batLineup.getPosObjIDDict().get(posNum)
|
| | | batObj = batObjMgr.getBatObj(objID)
|
| | | if not batObj:
|
| | | GameWorld.DebugAnswer(curPlayer, "对象不存在:阵营:%s,位置:%s" % (faction, posNum))
|
| | |
| | |
|
| | | ownerFaction = turnFight.getBatFaction(ownerFaction)
|
| | | ownerLineup = ownerFaction.getBatlineup(1)
|
| | | ownerID = ownerLineup.posObjIDDict.get(ownerPosNum)
|
| | | ownerID = ownerLineup.getPosObjIDDict().get(ownerPosNum)
|
| | | buffOwner = batObjMgr.getBatObj(ownerID)
|
| | | if not buffOwner:
|
| | | GameWorld.DebugAnswer(curPlayer, "对象不存在:阵营:%s,位置:%s" % (ownerFaction, ownerPosNum))
|
| | |
| | | skillMgr = mgObj.GetSkillManager()
|
| | | skillIDList = skillMgr.GetSkillIDList()
|
| | | GameWorld.DebugAnswer(curPlayer, "技能: %s,%s" % (len(skillIDList), skillIDList))
|
| | | |
| | | buffMgr = mgObj.GetBuffManager()
|
| | | GameWorld.DebugAnswer(curPlayer, "Buff: %s" % buffMgr.GetBuffCount())
|
| | | for index in range(buffMgr.GetBuffCount()):
|
| | | buff = buffMgr.GetBuffByIndex(index)
|
| | | 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()
|
| | | ))
|
| | | |
| | | posObjIDDict = batLineup.getPosObjIDDict()
|
| | | for posNum in posNumList:
|
| | | objID = batLineup.posObjIDDict.get(posNum)
|
| | | objID = posObjIDDict.get(posNum)
|
| | | if not objID:
|
| | | continue
|
| | | batObj = batObjMgr.getBatObj(objID)
|