2145 bug:法师噬天斧技能学习3个潜力在和平状态下释放技能会提示当前模式不可PK
2个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerState.py
@@ -462,7 +462,7 @@
    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
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -1501,6 +1501,7 @@
    if relation[0] == ChConfig.Type_Relation_Enemy :
        return True
    
    if curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_FbSkill:
    AttackCommon.PlayerAttackFailSysMessanage(curPlayer, relation[1])
    return False
@@ -1534,6 +1535,7 @@
    if relation[0] == ChConfig.Type_Relation_Friend :
        return True
    
    if curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_FbSkill:
    AttackCommon.PlayerAttackFailSysMessanage(curPlayer, relation[1])
    return False