#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
#base robot_click.pop
#base robot_click_giant.pop
//#base ex_upgrade_click.pop
population
{
	StartingCurrency	800
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	LuaScriptFile "scripts/roguelikemode_dc_kor.lua"
	CustomUpgradesFile mvm_upgrades_clickin_v8_roguelike_v2.txt
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	5
		InitialCooldown	40
		CooldownTime	30
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Ninja
		}
	}
    Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Machina
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	50
		DesiredCount	3
		TFBot
		{
			Template	T_TFBot_Spy_Saharan
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	45
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Sapper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	60
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Description	"TotalCash : 3000 + 100 (3100)"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation
		{
			Line "{00BFFF}1. 환불은 불가능합니다"
			Line "{98FB98}2. 특정 특성업그레이드시 업그레이드하면 안되는 업글이 있습니다(로스트업글 + 체력-젠댓가로 회복옵션업글)"
			Line "{00BFFF}3. 한번 선택한특성은 다른특성하고 교체 및 중첩이 불가능합니다"
			Line "{98FB98}4. <식칼>,<울라풀>,<Classic>은 다른특성과 다르게 강합니다, 미스테리등급 답게 업그레이드 흭득 난이도가 매우 높으며 다른특성과 같이 업글시 고장이납니다"
			Line "{00BFFF}5. <???/중첩불가>가 적혀있는것은 다른 중첩불가 업그레이드랑 중첩이 불가능합니다"
			Line "{FFD700}https://steamcommunity.com/groups/BroccoliDevil/discussions/0/3803902423388736628/"
			Line "{00FA9A}↑ 업그레이드 리스트 / Upgrade List ↑"
		}
		WaveSpawn
		{
			TotalCurrency	700
			TotalCount	28
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	20
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	300
			TotalCount	20
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill	Expert
				Attributes AlwaysFireWeapon
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Description	"TotalCash : 4200 + 200 (4400)"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation
		{
			Line "{00BFFF}1. 환불은 불가능합니다"
			Line "{98FB98}2. 특정 특성업그레이드시 업그레이드하면 안되는 업글이 있습니다(로스트업글 + 체력-젠댓가로 회복옵션업글)"
			Line "{00BFFF}3. 한번 선택한특성은 다른특성하고 교체 및 중첩이 불가능합니다"
			Line "{98FB98}4. <식칼>,<울라풀>,<Classic>은 다른특성과 다르게 강합니다, 미스테리등급 답게 업그레이드 흭득 난이도가 매우 높으며 다른특성과 같이 업글시 고장이납니다"
			Line "{00BFFF}5. <???/중첩불가>가 적혀있는것은 다른 중첩불가 업그레이드랑 중첩이 불가능합니다"
			Line "{FFD700}https://steamcommunity.com/groups/BroccoliDevil/discussions/0/3803902423388736628/"
			Line "{00FA9A}↑ 업그레이드 리스트 / Upgrade List ↑"
		}
		WaveSpawn
		{
			Name	w2_tank01
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	30
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	17500
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_a_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
				Tank
				{
					Health	17500
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_b_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_tank02
			WaitForAllDead	w2_tank01
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	0
			Where	spawnbot
			Tank
			{
				Health	17500
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w2_wave01
			TotalCurrency	200
			TotalCount	40
			MaxActive	20
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demo_Burst
			}
		}
		WaveSpawn
		{
			Name	w2_wave02
			WaitForAllSpawned	w2_wave01
			TotalCurrency	200
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Blaster_Pusher
			}
		}
		WaveSpawn
		{
			Name	w2_wave03
			WaitForAllSpawned	w2_wave02
			TotalCurrency	100
			TotalCount	18
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	5
			WaitBetweenSpawns	3
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Medic_Crossbow
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	w2_wave04
			WaitForAllSpawned	w2_wave03
			TotalCurrency	200
			TotalCount	12
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Tomislav
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	w2_wave04
			WaitForAllDead	w2_wave03
			TotalCurrency	200
			TotalCount	20
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{			
		    	TFBot
			    {
				    Template	T_TFBot_Soldier_RocketPush
		    	}
				TFBot
			    {
				    Template	T_TFBot_Medic
		    	}				
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Description	"TotalCash : 5800 + 300 (6100)"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation
		{
			Line "{00BFFF}1. 환불은 불가능합니다"
			Line "{98FB98}2. 특정 특성업그레이드시 업그레이드하면 안되는 업글이 있습니다(로스트업글 + 체력-젠댓가로 회복옵션업글)"
			Line "{00BFFF}3. 한번 선택한특성은 다른특성하고 교체 및 중첩이 불가능합니다"
			Line "{98FB98}4. <식칼>,<울라풀>,<Classic>은 다른특성과 다르게 강합니다, 미스테리등급 답게 업그레이드 흭득 난이도가 매우 높으며 다른특성과 같이 업글시 고장이납니다"
			Line "{00BFFF}5. <???/중첩불가>가 적혀있는것은 다른 중첩불가 업그레이드랑 중첩이 불가능합니다"
			Line "{FFD700}https://steamcommunity.com/groups/BroccoliDevil/discussions/0/3803902423388736628/"
			Line "{00FA9A}↑ 업그레이드 리스트 / Upgrade List ↑"
		}
		WaveSpawn
		{
			Name	w3_start
			TotalCurrency	40
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot
		   	TFBot
		   	{
		    	Template	T_TFBot_Demoman_Samurai
				Attributes  AlwaysCrit
		   	}
		}
		WaveSpawn
		{
			Name	w3_wave01
			TotalCurrency	200
			TotalCount	54
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			RandomChoice
			{
		    	TFBot
		     	{
			    	Template	T_TFBot_Demoknight_BattleAxe
					Attributes  AlwaysCrit
		    	}
				TFBot
		     	{
			    	Template    T_TFBot_Heavy_Flame
		    	}
			}
		}
		WaveSpawn
		{
			Name	w3_giantbowman
			TotalCurrency	160
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Sniper_Huntsman_Bleed_Penetration
			}
		}
		WaveSpawn
		{
			Name	w3_wave02
			WaitForAllSpawned	w3_wave01
			TotalCurrency	150
			TotalCount	32
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
			    TFBot
			    {
				    Template	T_TFBot_Heavy_Armored
			    }
			    TFBot
			    {
				    Template	T_TFBot_Medic_QuickUber
			    }
			    TFBot
			    {
				    Class Heavyweapons
				    Skill Expert
			    }
			    TFBot
			    {
				    Class Heavyweapons
				    Skill Expert
			    }
			}
		}
		WaveSpawn
		{
			Name	w3_wave02
			WaitForAllSpawned	w3_wave01
			TotalCurrency	150
			TotalCount	40
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
                Template   T_TFBot_Soldier_Future
			}
		}
		WaveSpawn
		{
			Name	w3_wave03
			WaitForAllDead	w3_wave02
			TotalCurrency	400
			TotalCount	32
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	0
			WaitBetweenSpawns	7
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Loch_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	w3_support
			WaitForAllDead	w3_wave02
			TotalCurrency	100
			TotalCount	20
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Support	1
			TFBot
			{
				Template   T_TFBot_Pyro_Backburner 
			}
		}		
		WaveSpawn
		{
			Name	w3_wave04
			WaitForAllDead	w3_wave03
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	30
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Healonhit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Description	"TotalCash : 7600 + 400 (8000)"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation
		{
			Line "{00BFFF}1. 환불은 불가능합니다"
			Line "{98FB98}2. 특정 특성업그레이드시 업그레이드하면 안되는 업글이 있습니다(로스트업글 + 체력-젠댓가로 회복옵션업글)"
			Line "{00BFFF}3. 한번 선택한특성은 다른특성하고 교체 및 중첩이 불가능합니다"
			Line "{98FB98}4. <식칼>,<울라풀>,<Classic>은 다른특성과 다르게 강합니다, 미스테리등급 답게 업그레이드 흭득 난이도가 매우 높으며 다른특성과 같이 업글시 고장이납니다"
			Line "{00BFFF}5. <???/중첩불가>가 적혀있는것은 다른 중첩불가 업그레이드랑 중첩이 불가능합니다"
			Line "{FFD700}https://steamcommunity.com/groups/BroccoliDevil/discussions/0/3803902423388736628/"
			Line "{00FA9A}↑ 업그레이드 리스트 / Upgrade List ↑"
		}
		WaveSpawn
		{
			Name	w4_wave01
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Chief_Soldier_SlowCrit
				Health  30000
			}
		}
		WaveSpawn
		{
			Name	w4_wave01
			TotalCurrency	100
			TotalCount	24
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavy_Deflector
				Skill Expert
			}
		}
		WaveSpawn
		{
			Name	w4_wave02
			WaitForAllDead	w4_wave01
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	30
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	30000
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_a_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
				Tank
				{
					Health	30000
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_b_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_wave02
			WaitForAllDead	w4_wave01
			TotalCurrency	200
			TotalCount	100
			MaxActive	20
			SpawnCount	5
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Where	spawnbot
			Support Limited
			TFBot
			{
				Template	T_TFBot_Spy_Stealth
			}
		}
		WaveSpawn
		{
			Name	w4_wave03
			WaitForAllSpawned	w4_wave02
			TotalCurrency	200
			TotalCount	12
			MaxActive	12
			SpawnCount	3
			WaitBeforeStarting	25
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer_Homing_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber_Extended
				}
			}
		}
		WaveSpawn
		{
			Name	w4_wave03
			WaitForAllSpawned	w4_wave02
			TotalCurrency	100
			TotalCount	18
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	25
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Deflector
					Skill Expert
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	w4_wave04
			WaitForAllDead	w4_wave03
			TotalCurrency	400
			TotalCount	16
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	7
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Demo_Spammer
			}
		}
		WaveSpawn
		{
			Name	w4_wave04
			WaitForAllDead	w4_wave03
			TotalCurrency	200
			TotalCount	16
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
			    TFBot
			    {
				    Template	T_TFBot_Heavy_Natascha_Hyper
			    }
			    TFBot
			    {
				    Template	T_TFBot_Medic_Shield
			    }
			}
		}
		WaveSpawn
		{
			Name	w4_support
			WaitForAllDead	w4_wave03
			TotalCurrency	100
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Bonk_Expert
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Description	"TotalCash : 10000 + 400 (10400)"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation
		{
			Line "{00BFFF}1. 환불은 불가능합니다"
			Line "{98FB98}2. 특정 특성업그레이드시 업그레이드하면 안되는 업글이 있습니다(로스트업글 + 체력-젠댓가로 회복옵션업글)"
			Line "{00BFFF}3. 한번 선택한특성은 다른특성하고 교체 및 중첩이 불가능합니다"
			Line "{98FB98}4. <식칼>,<울라풀>,<Classic>은 다른특성과 다르게 강합니다, 미스테리등급 답게 업그레이드 흭득 난이도가 매우 높으며 다른특성과 같이 업글시 고장이납니다"
			Line "{00BFFF}5. <???/중첩불가>가 적혀있는것은 다른 중첩불가 업그레이드랑 중첩이 불가능합니다"
			Line "{FFD700}https://steamcommunity.com/groups/BroccoliDevil/discussions/0/3803902423388736628/"
			Line "{00FA9A}↑ 업그레이드 리스트 / Upgrade List ↑"
		}
		WaveSpawn
		{
			Name	w5_tank01
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	40000
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_a_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
				Tank
				{
					Health	40000
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_b_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w5_giant01
			TotalCurrency	200
			TotalCount	20
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Bomber_Burst
					Attributes  "AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	w5_wave01
			TotalCurrency	100
			TotalCount	14
			MaxActive	14
			SpawnCount	14
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_DirectHit_Buff
			}
		}
		WaveSpawn
		{
			Name	w5_wave02
			WaitForAllSpawned	w5_wave01
			TotalCurrency	300
			TotalCount	72
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Where	spawnbot
			RandomChoice
			{
		    	TFBot
		    	{
			    	Template	T_TFBot_Heavy_Deflector
			    	Attributes  AlwaysCrit
		    	}
				TFBot
		    	{
			    	Template	T_TFBot_Pyro_Backburner
					Attributes  AlwaysCrit
		    	}
			}
		}
		WaveSpawn
		{
			Name	w5_tank02
			WaitForAllSpawned	w5_wave02
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	40000
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_a_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
				Tank
				{
					Health	40000
					Name	Tank
					Speed	75
					StartingPathTrackNode	tank_path_b_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w5_wave03
			WaitForAllDead	w5_wave02
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	20
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Giant_Pyro_Heal
					Attributes  AlwaysCrit
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Giant_Medic
		     	}
			}
		}
		WaveSpawn
		{
			Name	w5_wave03
			WaitForAllDead	w5_wave02
			TotalCurrency	100
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns	10
			Where	spawnbot
		    TFBot
	    	{
		        Template	T_TFBot_Giant_Scout_Blaster_Hyper
		    }
		}
		WaveSpawn
		{
			Name	w5_sollymedic
			WaitForAllSpawned	w5_wave03
			TotalCurrency	100
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	20
			WaitBetweenSpawns	7
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Soldier_Crit
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Medic
		     	}
			}
		}
		WaveSpawn
		{
			Name	w5_finaltank
			WaitForAllSpawned	w5_wave03
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	40
			WaitBetweenSpawns	0
			Where	spawnbot
			Tank
			{
				Health	50000
				Name	Tank
				Speed	75
				Skin	1
				StartingPathTrackNode	boss_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w5_finalsupport
			WaitForAllDead	w5_wave02
			TotalCurrency	100
			TotalCount	40
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Support	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Fast
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	w5_support
			TotalCurrency	100
			TotalCount	20
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavy_Juggernaut
			}
		}
	}
}