From db385c94d36ca889a5ebe6cbd44f84a8ec4347ef Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 07 十一月 2018 14:12:33 +0800
Subject: [PATCH] 2275 【BUG】【1.2】在打BOSS状态下点击主界面按钮应为不传送
---
System/MainInterfacePanel/ChatFrame.cs | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/System/MainInterfacePanel/ChatFrame.cs b/System/MainInterfacePanel/ChatFrame.cs
index 65df92f..c25fe25 100644
--- a/System/MainInterfacePanel/ChatFrame.cs
+++ b/System/MainInterfacePanel/ChatFrame.cs
@@ -394,10 +394,20 @@
var isVipFreeTransfer = ModelCenter.Instance.GetModel<VipModel>().GetVipPrivilegeCnt(VipPrivilegeType.FreeTransfer) > 0;
if (isVipFreeTransfer || flyBootOwn > 0)
{
+ if (PlayerDatas.Instance.extersion.bossState == 1)
+ {
+ SysNotifyMgr.Instance.ShowTip("Task_Transfer1");
+ return;
+ }
MapTransferUtility.Instance.MissionFlyTo(config.MapID, config.NPCID);
}
else
{
+ if (PlayerDatas.Instance.extersion.bossState == 1)
+ {
+ SysNotifyMgr.Instance.ShowTip("Task_Transfer1");
+ return;
+ }
MapTransferUtility.Instance.MoveToNPC(config.NPCID);
}
}
--
Gitblit v1.8.0