| | |
| | | { |
| | | ++SpawnedTotalEnemies; |
| | | |
| | | if (GameConfig.IsNewbie && EndlessUIStart.instance.beginSkillStep && SpawnedTotalEnemies >= 8) |
| | | if (GameConfig.IsNewbie) |
| | | { |
| | | EndlessUIStart.instance.beginSkillStep = false; |
| | | EndlessLevelManager.instance.StopSecondWave(); |
| | | if (EndlessUIStart.instance.beginDragStep && SpawnedTotalEnemies >= 3) |
| | | { |
| | | EndlessUIStart.instance.beginDragStep = false; |
| | | EndlessLevelManager.instance.StopSecondWave(); |
| | | } |
| | | else if (EndlessUIStart.instance.guideThirdWaveStep) |
| | | { |
| | | Debug.Log($"当前波次是木属性的 总怪物数量:{TotalEnemies} 当前已经生成了:{SpawnedTotalEnemies * 2}"); |
| | | if (TotalEnemies - (SpawnedTotalEnemies * 2) <= 0) |
| | | { |
| | | Debug.Log("第三波生成完毕"); |
| | | EndlessUIStart.instance.guideThirdWaveStep = false; |
| | | EventCenter.Ins.BroadCast((int)KTGMGemClient.EventType.CreateThirdWaveDone); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |