2366 【1.3】【1.2】boss区域模式切换异常
| | |
| | | _PromoteBtn.onClick.AddListener(OnPromoteBtn);
|
| | | RefreshVipData();
|
| | | EmperorBuffEvent();
|
| | | bool IsBossBool = PlayerDatas.Instance.hero != null && MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss);//是否在Boss区域
|
| | | if (PlayerDatas.Instance.baseData.MapID == 10040 && !IsBossBool)//关于逍遥城状态的特殊处理
|
| | | {
|
| | | if (Buffmodel.PkType != onMainModel.AreaState)
|
| | | {
|
| | | Buffmodel.PkType = onMainModel.AreaState;
|
| | | DTCA202_tagMCAttackMode.Send_SwitchAttackMode((E_AttackMode)onMainModel.AreaState);
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | public void UnInit()
|
| | |
| | | // DesignDebug.LogError(_areaType + ".." + _enter);
|
| | | if (PlayerDatas.Instance.baseData.MapID == 10040 && _areaType != MapArea.E_Type.Boss && _enter)
|
| | | {
|
| | | if (Buffmodel.PkType != onMainModel.AreaState)
|
| | | {
|
| | | DTCA202_tagMCAttackMode.Send_SwitchAttackMode((E_AttackMode)onMainModel.AreaState);
|
| | | }
|
| | | }
|
| | |
|
| | | if ((_areaType == MapArea.E_Type.Neutral || _areaType == MapArea.E_Type.Boss) && _enter)
|