| | |
| | | for mutexHurtTypeList in mutexList:
|
| | | curMHHappen = False # 当前互斥列表是否有触发的
|
| | | for hType in mutexHurtTypeList:
|
| | | if hType not in calcTypeList:
|
| | | if hType not in calcTypeList or hType not in happenFunc:
|
| | | continue
|
| | | if hType in hadCheckList:
|
| | | continue
|
| | |
| | |
|
| | | # 再算优先级列表里
|
| | | for hType in priorityList:
|
| | | if hType not in calcTypeList:
|
| | | if hType not in calcTypeList or hType not in happenFunc:
|
| | | continue
|
| | | if hType not in hadCheckList:
|
| | | hadCheckList.append(hType)
|
| | |
| | |
|
| | | if GetIsNewGuy(tagPlayer):
|
| | | return ChConfig.Type_Relation_None, ChConfig.Def_PASysMessage_NotAttackNewGuy
|
| | | |
| | | #攻守双方同一队伍,不可PK,可加增益buff
|
| | | #if curPlayerAreaType not in [ShareDefine.gatManor] and CanAlikeTeam(curPlayer, tagPlayer):
|
| | | # #副本队友特殊判断
|
| | | # if not PlayerCanAttackTeamerInFB(curPlayer, tagPlayer): |
| | | # return ChConfig.Type_Relation_Friend , ChConfig.Def_PASysMessage_NotAttackTeam
|
| | |
|
| | | #恶意攻击的玩家默认都是敌人, 无论什么模式
|
| | | if IsMaliciousAttackPlayer(curPlayer, tagPlayer):
|