From 9f13daf65e0f6acc43ffab6462b737a70879f5cc Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 29 八月 2018 20:17:08 +0800 Subject: [PATCH] Add: 2961 【后端】仙盟抢Boss活动; --- ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py index c2db78e..fe9b667 100644 --- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py +++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFamily.py @@ -39,6 +39,7 @@ import PlayerFamilyParty import PlayerFamilySWRH import PlayerViewCache +import GameWorldBoss import PlayerTalk import copy @@ -1363,6 +1364,10 @@ PlayerControl.NotifyCode(curPlayer, "DungeonGuardSkyText2") return + if GameWorld.GetGameWorld().GetDictByKey(ShareDefine.Def_Notify_WorldKey_DailyActionState % ShareDefine.DailyActionID_FamilyRobBoss): + PlayerControl.NotifyCode(curPlayer, "FairyGrabBossExitError") + return + tagPlayerName = curTagMember.GetName() # 被踢玩家名 tagPlayerID = curTagMember.GetPlayerID() # 被踢玩家ID tagFamilyLV = curTagMember.GetFamilyLV() # 被踢玩家职位 @@ -1437,6 +1442,11 @@ if PlayerFamilySWRH.IsInFamilySWRH(): PlayerControl.NotifyCode(curPlayer, "DungeonGuardSkyText1") return + + if GameWorld.GetGameWorld().GetDictByKey(ShareDefine.Def_Notify_WorldKey_DailyActionState % ShareDefine.DailyActionID_FamilyRobBoss): + PlayerControl.NotifyCode(curPlayer, "FairyGrabBossExitError") + return + #XW_JZ_LeaveFamily <n color="0,190,255">{%S1%}</n><n color="255,255,0">退出了家族!</n> 25 - - NotifyAllFamilyMemberMsg(curFamily, curPlayer, "XW_JZ_LeaveFamily", [curPlayer.GetName()]) -- Gitblit v1.8.0