| | |
| | | import PassiveBuffEffMng
|
| | | import PlayerGeTui
|
| | | import IpyGameDataPY
|
| | | import PyGameData
|
| | | #---------------------------------------------------------------------
|
| | | g_skillHurtList = IPY_GameWorld.IPY_HurtList()
|
| | |
|
| | |
| | | #PlayerControl.DoPlayerStand(curPlayer)
|
| | | #激活玩家
|
| | | PlayerControl.SetIsNeedProcess(curPlayer, True)
|
| | |
|
| | | |
| | | #镜像单次攻击统计,查单次攻击无限触发被动死循环临时代码
|
| | | if PyGameData.g_singleAtkRecordList != None and (attacker and attacker.GetDictByKey(ChConfig.Def_PlayerKey_MirrorBattleID)) \
|
| | | and (curPlayer and curPlayer.GetDictByKey(ChConfig.Def_PlayerKey_MirrorBattleID)):
|
| | | atkID = attacker.GetID()
|
| | | defID = curPlayer.GetID()
|
| | | skillID = curSkill.GetSkillID() if curSkill else 0
|
| | | PyGameData.g_singleAtkRecordList.append([atkID, defID, skillID])
|
| | | #GameWorld.DebugLog("PyGameData.g_singleAtkRecordList: %s, %s" % (len(PyGameData.g_singleAtkRecordList), PyGameData.g_singleAtkRecordList))
|
| | | if len(PyGameData.g_singleAtkRecordList) >= 50:
|
| | | GameWorld.SendGameError("MirrorAIAtkDepthError", str(PyGameData.g_singleAtkRecordList))
|
| | | PyGameData.g_singleAtkRecordList = None
|
| | | return
|
| | | |
| | | # 暂且只有玩家被攻击触发
|
| | | if not curSkill or curSkill.GetSkillType() in ChConfig.Def_CanAttackSkill_List:
|
| | | # 优先触发,如无敌可以抵挡后续的被动伤害技能
|