2145 bug:法师噬天斧技能学习3个潜力在和平状态下释放技能会提示当前模式不可PK
| | |
| | | relation = BaseAttack.GetTagRelation(curPlayer, curTag, None, tick)
|
| | | #判断是否敌对关系
|
| | | if relation[0] != ChConfig.Type_Relation_Enemy :
|
| | | AttackCommon.PlayerAttackFailSysMessanage(curPlayer, relation[1])
|
| | | #AttackCommon.PlayerAttackFailSysMessanage(curPlayer, relation[1])
|
| | | return
|
| | |
|
| | | return curTag
|
| | |
| | | if relation[0] == ChConfig.Type_Relation_Enemy :
|
| | | return True
|
| | |
|
| | | if curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_FbSkill:
|
| | | AttackCommon.PlayerAttackFailSysMessanage(curPlayer, relation[1])
|
| | | return False
|
| | |
|
| | |
| | | if relation[0] == ChConfig.Type_Relation_Friend :
|
| | | return True
|
| | |
|
| | | if curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_FbSkill:
|
| | | AttackCommon.PlayerAttackFailSysMessanage(curPlayer, relation[1])
|
| | | return False
|
| | |
|