| | |
| | |
|
| | | private void OnEnterOrExitArea(MapArea.E_Type _areaType, bool _enter)
|
| | | {
|
| | | //DebugEx.LogError(_areaType + ".." + _enter);
|
| | | //DebugEx.LogError(_areaType + ".." + _enter);
|
| | | if (PlayerDatas.Instance.baseData.MapID == 10040 && _areaType != MapArea.E_Type.Boss && _enter)
|
| | | {
|
| | | DTCA202_tagMCAttackMode.Send_SwitchAttackMode((E_AttackMode)onMainModel.AreaState);
|
| | |
| | | int[] atkInt = pKModel.GetArea(config.AtkType).ToArray();
|
| | | if (onMainModel.ShieldedArea.Contains(PlayerDatas.Instance.baseData.MapID))
|
| | | {
|
| | | |
| | |
|
| | | }
|
| | | else
|
| | | {
|
| | |
| | | WindowCenter.Instance.Open<IceCrystalVeinWin>();
|
| | | }
|
| | | iceCrystalVeinModel.IsIceCrystalVeinCopy = false;
|
| | | } |
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | else
|
| | | {
|
| | | _ExpRate.text = (float)Math.Round((double)nowVlaue / maxValue, 2, MidpointRounding.AwayFromZero) * 100 + "%";
|
| | | } |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | if (PlayerDatas.Instance.baseData.ExAttr5 == 1)//是否再跨服副本中
|
| | | {
|
| | | if (!WindowCenter.Instance.IsOpen("FightingPKWin"))
|
| | | {
|
| | | WindowCenter.Instance.Open<FightingPKWin>();
|
| | | }
|
| | | WindowCenter.Instance.Open<FightingPKWin>();
|
| | | m_HeadPortraitTip.gameObject.SetActive(false);
|
| | | CopyOfThePanel.gameObject.SetActive(false);
|
| | | _SwitchShowBtn.gameObject.SetActive(false);
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | WindowCenter.Instance.Close<FightingPKWin>();
|
| | | m_HeadPortraitTip.gameObject.SetActive(true);
|
| | | CopyOfThePanel.gameObject.SetActive(true);
|
| | | _SwitchShowBtn.gameObject.SetActive(true);
|