5242 【后端】【1.3.100】仙盟宴会答题修改为只能在宴会地图内才能答题
1个文件已修改
10 ■■■■ 已修改文件
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyParty.py 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamilyParty.py
@@ -227,11 +227,11 @@
    ChContent = GameWorld.CodeToGBK(ChContent)
    ChContent = ChContent.strip()
    isRight = ChContent in answerList
#    if curPlayer.GetMapID() != ChConfig.Def_FBMapID_FamilyParty:
#        if isRight:
#            PlayerControl.FamilyNotify(curFamilyid, 'FamilyPleaseIntoParty')
#            PlayerControl.NotifyCode(curPlayer, 'FamilyNoIntoParty')
#        return
    if curPlayer.GetMapID() != ChConfig.Def_FBMapID_FamilyParty:
        if isRight:
            PlayerControl.FamilyNotify(curFamilyid, 'FamilyPleaseIntoParty')
            PlayerControl.NotifyCode(curPlayer, 'FamilyNoIntoParty')
        return
    
    playerID = curPlayer.GetID()
    GameWorld.DebugLog("    answer=%s  ChContent=%s"%(answerList, ChContent), playerID)