From 637e783b5caca75b201e1dffd54b89bd7b37bb0c Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 26 三月 2019 16:09:53 +0800 Subject: [PATCH] 6250 【后端】【2.0】拍卖行开发单(增加竞价时间通知) --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py index fa5e8f3..bbb2ea5 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py @@ -387,7 +387,6 @@ GameWorld.DebugLog(' 玩家战盟名变更处理, newFamilyName=%s' % familyName, playerID) #不处理排行榜 needChangeFamilyBillboardList = [ - #ShareDefine.Def_BT_RechargeTeHui, # 充值特惠活动排行榜-当前期记录 ] billboardMgr = GameWorld.GetBillboard() for billboardIndex in needChangeFamilyBillboardList: @@ -1423,6 +1422,9 @@ if GameWorld.GetGameWorld().GetDictByKey(ShareDefine.Def_Notify_WorldKey_DailyActionState % ShareDefine.DailyActionID_FamilyRobBoss): PlayerControl.NotifyCode(curPlayer, "FairyGrabBossExitError") return + if PlayerFamilyBoss.IsInAllFamilyBoss(): + PlayerControl.NotifyCode(curPlayer, "LeagueBOSSExitError1") + return tagPlayerName = curTagMember.GetName() # 被踢玩家名 tagPlayerID = curTagMember.GetPlayerID() # 被踢玩家ID @@ -1502,6 +1504,9 @@ if GameWorld.GetGameWorld().GetDictByKey(ShareDefine.Def_Notify_WorldKey_DailyActionState % ShareDefine.DailyActionID_FamilyRobBoss): PlayerControl.NotifyCode(curPlayer, "FairyGrabBossExitError") return + if PlayerFamilyBoss.IsInAllFamilyBoss(): + PlayerControl.NotifyCode(curPlayer, "LeagueBOSSExitError1") + return #判断退出时间间隔 curTime = int(time.time()) lastLeaveFamilyTime = PlayerControl.GetLeaveFamilyTime(curPlayer) -- Gitblit v1.8.0