Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | if (secondTypeDict.Count >= 1 && curSecondType != 0
|
| | | && curThirdType == 1)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | int remain = curSecondType - firstTypeDict.Count;
|
| | | if(remain > 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType- remain);
|
| | | }
|
| | | else
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | if (secondTypeDict.Count >= 1 && curSecondType != 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | int remain = curSecondType - firstTypeDict.Count;
|
| | | if (remain > 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - remain);
|
| | | }
|
| | | else
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | if (secondTypeDict.Count >= 1 && curSecondType != 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | int remain = curSecondType - firstTypeDict.Count;
|
| | | if (remain > 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - remain);
|
| | | }
|
| | | else
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | {
|
| | | if (secondTypeDict.Count >= 1 && curSecondType != 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | int remain = curSecondType - firstTypeDict.Count;
|
| | | if (remain > 0)
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - remain);
|
| | | }
|
| | | else
|
| | | {
|
| | | cellCtrl.JumpIndex(curSecondType - 1);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | var config = Config.Instance.Get<MapConfig>(MapID);
|
| | | var activityline = 0;
|
| | | fairyGrabBossModel.TryGetFairyGrabBossLine(out activityline);
|
| | | if (activityline == PlayerDatas.Instance.baseData.FBID)//再前四章新手地图且在活动区域
|
| | | if (onMainModel.ActivityList.Contains(MapID) && activityline == PlayerDatas.Instance.baseData.FBID)//再前四章新手地图且在活动区域
|
| | | {
|
| | | AtkTypeList = new int[] { 0, 5 };
|
| | | }
|
| | |
| | | float halfSecondTimer = 0;
|
| | | private void LateUpdate()
|
| | | {
|
| | | if (!(StageManager.Instance.CurrentStage is DungeonStage))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | secondTimer += Time.deltaTime;
|
| | | halfSecondTimer += Time.deltaTime;
|
| | | if(halfSecondTimer >= 0.5f)
|