From c864cb1970156f23a5ea24a3113f05f5c31800f4 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 16 一月 2019 15:09:11 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/MainInterfacePanel/MainInterfaceWin.cs | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/MainInterfaceWin.cs b/System/MainInterfacePanel/MainInterfaceWin.cs
index b0ab69d..6e17d71 100644
--- a/System/MainInterfacePanel/MainInterfaceWin.cs
+++ b/System/MainInterfacePanel/MainInterfaceWin.cs
@@ -248,6 +248,7 @@
fairyGrabBossModel.gotoBossStateUpdate += ShowFairyGrabBoss;
ChatTip.OnChatUpEvent += RefreshAdaptiveChat;
IsCrossServerOneVsOne();
+ SetAtkType();
}
private void CompletionOfTaskEvent(int obj)
@@ -386,7 +387,6 @@
m_HighSettingTip.AfterOpen();
m_ChatTip.OnAfterOpen();
HandleAchievement();
- //StartCoroutine(featureNoticeModel.WhetherToPlayTheBox());//鍔熻兘棰勫憡
}
protected override void OnPreClose()
@@ -601,6 +601,16 @@
}
}
+
+ private void SetAtkType()//閫嶉仴鍩庨潪boss鍖哄煙鐗规畩澶勭悊
+ {
+ bool IsBossBool = MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss);//鏄惁鍦˙oss鍖哄煙
+ if (PlayerDatas.Instance.baseData.MapID == 10040 && !IsBossBool && Buffmodel.PkType!=0)
+ {
+ DTCA202_tagMCAttackMode.Send_SwitchAttackMode((E_AttackMode)0);
+ Buffmodel.PkType = 0;
+ }
+ }
private void OnMaininterCDTime()
{
MarkRayButton();
--
Gitblit v1.8.0