//mission by skin king // casino city B8 by bigfootbeto

#base robot_giant.pop
#base robot_standard.pop

WaveSchedule
{
	StartingCurrency	690 //nice
	RespawnWaveTime	5
	CanBotsAttackWhileInSpawnRoom	no
	TextPrintTime 0  
	
	Mission
	{
		Objective	DestroySentries
		BeginAtWave	1
		RunForThisManyWaves	7
		CooldownTime	30
		DesiredCount	1
		Where	spawnbot_mission_sentrybuster
		
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
		
	Mission
	{
		Objective	Engineer
		BeginAtWave	3
		RunForThisManyWaves	3
		InitialCooldown	30
		CooldownTime	35
		DesiredCount	1
		Where	spawnbot_center
		
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			
			TeleportWhere spawnbot
			TeleportWhere spawnbot_right
			TeleportWhere spawnbot_left
			TeleportWhere spawnbot_center
			TeleportWhere spawnbot_mission_spy
			TeleportWhere spawnbot_mission_sentrybuster
			TeleportWhere spawnbot_mission_sniper	
		}
	}
	
	Mission
	{
		BeginAtWave	4
		RunForThisManyWaves	2
		Objective	Sniper
		Where	spawnbot_mission_sniper
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}	
	Mission
	{
		BeginAtWave	7
		RunForThisManyWaves	1
		Objective	Sniper
		Where	spawnbot_mission_sniper
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	
	Mission
	{
		Objective	Spy
		BeginAtWave	3
		RunForThisManyWaves	1
		CooldownTime	30
		InitialCooldown 30
		DesiredCount	2
		Where	spawnbot_mission_spy
		
		TFBot
		{
			Class	Spy
		}
	}	
	Mission
	{
		Objective	Spy
		BeginAtWave	6
		RunForThisManyWaves	3
		CooldownTime	30
		InitialCooldown 30
		DesiredCount	2
		Where	spawnbot_mission_spy
		
		TFBot
		{
			Class	Spy
		}
	}	
	
	Wave //710 credits 810 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}
		
		Explanation  
		{
			Line "{red}Casino closed due to AIDs"
		}
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency 200
			TotalCount	39
			MaxActive 	13
			SpawnCount	1
			WaitBeforeStarting	0.5
			WaitBetweenSpawns 	1.25
			Where	spawnbot
			
			TFBot
			{
				Class	Heavy
				Skill	Expert
				Name	"Eviction Heavy"
				Item	"The Eviction Notice"
				Item	"Capone's Capper"
				ClassIcon		heavy_eviction_nys
				WeaponRestrictions	"MeleeOnly"
				
				ItemAttributes
				{
					ItemName	"The Eviction Notice"
					"mod_maxhealth_drain_rate" 0
				}
			}
		}		
		
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency 100
			TotalCount	3
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns 	12.5
			Where	spawnbot_left
			
			TFBot
			{
				Template	T_TFBot_Heavyweapons_Heater
				Name	"Giant Heater Heavy"
			}	
		}
		
		WaveSpawn
		{
			Name	wave1b
			WaitForAllSpawned	wave1a
			TotalCurrency 100
			TotalCount	3
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	7
			WaitBetweenSpawns 	12
			Where	spawnbot_left
			
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Crit
			
			}
		}		
		WaveSpawn
		{
			Name	wave1b
			WaitForAllSpawned	wave1a
			TotalCurrency 100
			TotalCount	18
			MaxActive 	6
			SpawnCount	2
			WaitBeforeStarting	7
			WaitBetweenSpawns 	1.5
			Where	spawnbot_center
			
			TFBot
			{
				Class Soldier
				Skill	Normal
			
			}
		}		
		WaveSpawn
		{
			Name	wave1b
			WaitForAllSpawned	wave1a
			TotalCurrency 100
			TotalCount	18
			MaxActive 	6
			SpawnCount	2
			WaitBeforeStarting	7
			WaitBetweenSpawns 	1.5
			Where	spawnbot_right
			
			TFBot
			{
				Class Heavy
				Skill	Easy
			
			}
		}	

		WaveSpawn
		{
			Name	wave1c
			WaitForAllSpawned	wave1b
			TotalCurrency 55
			TotalCount	5
			MaxActive 	5
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns 	1.5
			Where	spawnbot_center
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}				
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
			}	
		}	

		WaveSpawn
		{
			Name	wave1c
			WaitForAllSpawned	wave1b
			TotalCurrency 55
			TotalCount	55
			MaxActive 	10
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns 	3
			Where	spawnbot_right		
			Where	spawnbot_left
			Support 1
			
			TFBot
			{
				Template 	T_TFBot_Scout_Sandman
			}
		}
	}	
	
	Wave //900 credits 1000 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency 100
			TotalCount	30
			MaxActive 	6
			SpawnCount	2
			WaitBeforeStarting	0.5
			WaitBetweenSpawns 	1.5
			Where	spawnbot
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Class	Demoman
					Skill	Expert
					Name	"Shovel Knight"
					Item	"TF_WEAPON_SHOVEL"
					Item 	"The Chargin' Targe"
					ClassIcon soldier_shovel
					WeaponRestrictions	MeleeOnly
					
					ItemAttributes
					{
						ItemName	"TF_WEAPON_SHOVEL"
						"critboost on kill" 3
					}
				}				
				
				TFBot
				{
					Class	Demoman
					Skill	Normal
					Name	"Glock Demoman"
					Item	"TF_WEAPON_PISTOL"
					ClassIcon scout_pistol_nys
					WeaponRestrictions	SecondaryOnly
					CharacterAttributes
					{
						"hand scale" 3
					}	
				}
			}	
		}		
		
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency 100
			TotalCount	30
			MaxActive 	3
			SpawnCount	3
			WaitBeforeStarting	0.5
			WaitBetweenSpawns 	1
			Where	spawnbot
			Support	1
			
			TFBot
			{
				Template		T_TFBot_Heavyweapons_Shotgun
			}	
		}		
		
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency 100
			TotalCount	30
			MaxActive 	3
			SpawnCount	3
			WaitBeforeStarting	0.5
			WaitBetweenSpawns 	1
			Where	spawnbot
			Support	1
			
			TFBot
			{
				Class	Soldier
				Skill	Normal
			}	
		}		
		
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency 100
			TotalCount	30
			MaxActive 	3
			SpawnCount	3
			WaitBeforeStarting	0.5
			WaitBetweenSpawns 	1
			Where	spawnbot
			Support	1
			
			TFBot
			{
				Template	T_TFBot_Soldier_Extended_Concheror
			}
		}		
		
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency 100
			TotalCount	30
			MaxActive 	3
			SpawnCount	3
			WaitBeforeStarting	0.5
			WaitBetweenSpawns 	1
			Where	spawnbot
			Support	1
			
			TFBot
			{
				Template		T_TFBot_Scout_Melee
			}
		}
		
		
		WaveSpawn
		{
			Name	wave2a-1
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	30
			
			Tank
			{
				Health	15000
				Name	tankboss
				Speed	75
				StartingPathTrackNode	"tank_path_b_1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}		
		
		WaveSpawn
		{
			Name	wave2a-2
			WaitForAllSpawned wave2a-1
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	30
			
			Tank
			{
				Health	15000
				Name	tankboss
				Speed	75
				StartingPathTrackNode	"tank_path_a_1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
	}	
		
	Wave //1000 credits 1100 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency 150
			TotalCount	2
			MaxActive 	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns 	0
			Where	spawnbot_right
		
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
			
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Tag	bot_squad_member
				}
			}
		}
		
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency 150
			TotalCount	30
			MaxActive 	15
			SpawnCount	15
			WaitBeforeStarting	1
			WaitBetweenSpawns 	0
			Where	spawnbot_right
		
			TFBot	
			{
				Template	T_TFBot_Scout_Bonk
				Name	"Not A Cool Soda Dude"
			}
		}		
		
		WaveSpawn
		{
			Name	wave3b
			WaitForAllSpawned	wave3a
			TotalCurrency 100
			TotalCount	4
			MaxActive 	4
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns 	15
			Where	spawnbot_right
		

			TFBot
			{
				Template	T_TFBot_Giant_Pyro
				ClassIcon	pyro_dragon_fury_conch_lite
				Name	"Giant Conch Fury Pyro"
				Item	"The Dragon's Fury" 
				Skill	Hard
				Attributes SpawnWithFullCharge
				Item "The Concheror"
				CharacterAttributes
				{
					"increase buff duration"	9.0
				}
			}
		}	
		
		WaveSpawn
		{
			Name	wave3b
			WaitForAllSpawned	wave3a
			TotalCurrency 100
			TotalCount	14
			MaxActive 	7
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns 	2
			Where	spawnbot_center
		
			TFBot
			{
				Class	Heavy
				Name	"Goon"
				WeaponRestrictions	SecondaryOnly
				Item	"The Family Business"
				ClassIcon	heavy_family_business_lite
				Skill	Hard
				Attributes	AlwaysCrit
			}
		}		
		
		WaveSpawn
		{
			Name	wave3b-1
			WaitForAllSpawned	wave3a
			TotalCurrency 100
			TotalCount	28
			MaxActive 	7
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns 	2
			Where	spawnbot_center
		
			TFBot
			{
				Class	Scout
				Name	"Gooner"
				WeaponRestrictions	SecondaryOnly
				Item	"Mad Milk"
				ClassIcon		scout_milk
				Skill	Normal
				CharacterAttributes
				{
					"effect bar recharge rate increased" -2
				}
			}
		}		
		
//		WaveSpawn
//		{
//			Name	wave3c
//			WaitForAllSpawned	wave3b
//			TotalCurrency 100
//			TotalCount	3
//			MaxActive 	3
//			SpawnCount	1
//			WaitBeforeStarting	10
//			WaitBetweenSpawns 	15
//			Where	spawnbot_center
//		
//			TFBot
//			{
//				Template	T_TFBot_Giant_Demoman
//				Attributes	AlwaysCrit
//				ClassIcon	demo_spammer
//			}
//		}		
//		
//		WaveSpawn
//		{
//			Name	wave3c
//			WaitForAllSpawned	wave3b
//			TotalCurrency 100
//			TotalCount	39
//			MaxActive 	11
//			SpawnCount	1
//			WaitBeforeStarting	10
//			WaitBetweenSpawns 	1.5
//			Where	spawnbot_left
//			Where	spawnbot_right
//		
//			RandomChoice
//			{
//				TFBot
//				{
//					Template	T_TFBot_Sniper_Huntsman
//				}			
//
//				TFBot
//				{
//					Template	T_TFBot_Soldier_Extended_Battalion
//				}
//			}	
//		}
			
		WaveSpawn
		{
			Name	wave3c
			WaitForAllSpawned	wave3b
			TotalCurrency 200
			TotalCount	9
			MaxActive 	9
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns 	10
			Where	spawnbot_center
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}			
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}			
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
			}	
		}			
		
		WaveSpawn
		{
			Name	wave3c
			WaitForAllSpawned	wave3b
			TotalCurrency 200
			TotalCount	50
			MaxActive 	8
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns 	0
			Where	spawnbot_left
			Support 1
			Squad
			{
				TFBot
				{
					Template		T_TFBot_Heavyweapons_Fist
				}
			
				TFBot
				{
					Template		T_TFBot_Medic_QuickFix
					Tag	bot_squad_member
				}
			}	
		}
	}	
		
	Wave //1200 credits 1100 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency 100
			TotalCount	36
			MaxActive 	9
			SpawnCount	3
			WaitBeforeStarting	1
			WaitBetweenSpawns 	5
			Where	spawnbot_right
		
			TFBot	
			{
				Class	Soldier 
				Skill	Hard
			}
		}	
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency 100
			TotalCount	8
			MaxActive 	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns 	12
			Where	spawnbot_left
			Squad
			{
				TFBot	
				{
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
				}
					
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
			}	
		}
		
		WaveSpawn
		{
			Name	wave4a-1
			TotalCurrency	300
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	30
			
			Tank
			{
				Health	18000
				Name	tankboss
				Speed	75
				StartingPathTrackNode	"tank_path_b_1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}			
		
		WaveSpawn
		{
			Name	wave4b
			WaitForAllSpawned	wave4a
			TotalCurrency 200
			TotalCount	24
			MaxActive 	9
			SpawnCount	3
			WaitBeforeStarting	10
			WaitBetweenSpawns 	0
			Where	spawnbot_left
			RandomChoice
			{
				TFBot
				{
					Class	Pyro
					Skill	Hard
					
				}				
				TFBot
				{
					Class	Heavy
					Skill	Normal
					Attributes	AlwaysCrit
					
				}
			}	
		}		
		
		WaveSpawn
		{
			Name	wave4b
			WaitForAllSpawned	wave4a
			TotalCurrency 100
			TotalCount	4
			MaxActive 	4
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns 	15
			Where	spawnbot_right
		
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
				
			}
		}		
		
		WaveSpawn
		{
			Name	wave4c
			WaitForAllSpawned	wave4b
			TotalCurrency 200
			TotalCount	36
			MaxActive 	12
			SpawnCount	6
			WaitBeforeStarting	6.5
			WaitBetweenSpawns 	12
			Where	spawnbot_center
			Support 1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Burst
					
				}
				
				TFBot
				{
					Template		T_TFBot_Medic_QuickFix
					Tag	bot_squad_member
				}
			}	
		}		
		
		WaveSpawn
		{
			Name	wave4c
			WaitForAllSpawned	wave4b
			TotalCurrency 200
			TotalCount	6
			MaxActive 	6
			SpawnCount	2
			WaitBeforeStarting	6.5
			WaitBetweenSpawns 	15
			Where	spawnbot_center
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					//Attributes	AlwaysCrit
				}
				
				TFBot
				{
					Template		T_TFBot_Medic_BigHeal
					Name	"Big-Heal Medic"
					Tag	bot_squad_member
				}
			}	
		}		
	}
		
	Wave //1500 credits 1600 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}	

		WaveSpawn
		{
			Name	wave5a
			TotalCurrency 200
			TotalCount	36
			MaxActive 	9
			SpawnCount	3
			WaitBeforeStarting	1
			WaitBetweenSpawns 	1.5
			Where	spawnbot_right
			
			RandomChoice
			{
				TFBot	
				{
					Class	Scout
					Skill	Hard
				}
				TFBot	
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					Attributes	AlwaysCrit
				}
			}	
		}	

		WaveSpawn
		{
			Name	wave5a
			TotalCurrency 100
			TotalCount	8
			MaxActive 	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns 	15
			Where	spawnbot_right
			Squad
			{
				TFBot	
				{
					Template	T_TFBot_Giant_Soldier_Spammer_Reload
					Attributes	AlwaysCrit
				}
				
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
			}	
		}		
		
		WaveSpawn
		{
			Name	wave5b
			WaitForAllSpawned	wave5a
			TotalCurrency 100
			TotalCount	24
			MaxActive 	9
			SpawnCount	3
			WaitBeforeStarting	12
			WaitBetweenSpawns 	0
			Where	spawnbot_left
		
			TFBot
			{
				Class	Pyro
				Skill	Hard
				Attributes	AlwaysFireWeapon
			}
		}		
		
		WaveSpawn
		{
			Name	wave5b
			WaitForAllSpawned	wave5a
			TotalCurrency 100
			TotalCount	28
			MaxActive 	7
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns 	1.5
			Where	spawnbot_right
		
			TFBot
			{
				Template		T_TFBot_Sniper_Huntsman
				Attributes	AlwaysCrit
				
			}
		}		
		
		WaveSpawn
		{
			Name	wave5b
			WaitForAllSpawned	wave5a
			TotalCurrency 100
			TotalCount	2
			MaxActive 	2
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns 	15
			Where	spawnbot_left
		
			TFBot
			{
				Template		T_TFBot_Giant_Soldier_SlowBarrage
				
			}
		}		
		
		WaveSpawn
		{
			Name	wave5c
			WaitForAllSpawned	wave5b
			TotalCurrency 100
			TotalCount	36
			MaxActive 	9
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns 	0.5
			Where	spawnbot_left
			RandomChoice
			{
				TFBot
				{
					Class	Demoman
					Skill	Hard
					
				}				
				TFBot
				{
					Class	Soldier
					Skill	Hard
					
				}
			}	
		}		
		
		WaveSpawn
		{
			Name	wave5c
			WaitForAllSpawned	wave5b
			TotalCurrency 100
			TotalCount	9
			MaxActive 	9
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns 	18
			Where	spawnbot_center
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Name	"Quick Uber Medic"
					Tag	bot_squad_member
				}
			}	
		}
		
		WaveSpawn
		{
			Name	wave5d
			WaitForAllSpawned	wave5c
			TotalCurrency 350
			TotalCount	2
			MaxActive 	2
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns 	20
			Where	spawnbot_center

				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
					Attributes	AlwaysCrit
					ClassIcon		soldier_infinite_backup
					ItemAttributes
					{
						ItemName "TF_WEAPON_ROCKETLAUNCHER"
						"faster reload rate" -0.8
						"fire rate bonus" 0.5
						"Projectile speed increased" 0.65
					}
				}			

				
		}		
		
		WaveSpawn
		{
			Name	wave5d
			WaitForAllSpawned	wave5c
			TotalCurrency 350
			TotalCount	350
			MaxActive 	12
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns 	1
			Where	spawnbot
			Support	1
			TFBot
			{
				Template	T_TFBot_Heavyweapons_Shotgun
				ClassIcon	heavy_fatscout_2
				Item	"The Robot Running Man"
				Name	"Fat Scout"
				Attributes	AlwaysCrit
				
				
				CharacterAttributes	
				{
					"move speed bonus"	1.3
				}	
			}
		}
	}	
		
	Wave //1500 credits 1600 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}	

		
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns 	7
			Where	spawnbot
			Support	1

			TFBot	
			{
				Class	Scout
				Skill	Hard
			}
		}
		
		
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns 	7
			Where	spawnbot
			Support	1

			TFBot	
			{
				Class	Soldier	
				Skill	Hard
			}
		}		
		
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns 	7
			Where	spawnbot
			Support	1

			TFBot	
			{
				Class	Heavy
				Skill	Hard
			}
		}		
		
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns 	7
			Where	spawnbot
			Support	1

			TFBot	
			{
				Class	Demoman
				Skill	Hard
			}
		}	

		WaveSpawn
		{
			Name	wave6a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns 	7
			Where	spawnbot
			Support	1

			TFBot	
			{
				Class	Pyro
				Skill	Expert
				
				ItemAttributes
				{
					ItemName "TF_WEAPON_FLAMETHROWER"
					"airblast_destroy_projectile" 1
				}
			}
		}	
		
		WaveSpawn
		{
			Name	wave6a-1
			TotalCurrency 100
			TotalCount	2
			MaxActive 	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns 	12
			Where	spawnbot_left

			TFBot	
			{
				Template	T_TFBot_Giant_Heavyweapons_Deflector
				Attributes	AlwaysCrit
			}
		}		
		
		WaveSpawn
		{
			Name	wave6b
			WaitForAllSpawned wave6a-1
			TotalCurrency 100
			TotalCount	3
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns 	12
			Where	spawnbot_center	

			TFBot	
			{
				Template		T_TFBot_Giant_Soldier_Spammer
				Attributes	AlwaysCrit	
			}
		}		
			
		WaveSpawn
		{
			Name	wave6c-1
			WaitForAllSpawned wave6b
			TotalCurrency 25
			TotalCount	1
			MaxActive 	1
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns 	0
		
			
			FirstSpawnOutput
			{
				Target boss_spawn_relay_sentrytank			//REQUIRED
				Action Trigger
			}
			Tank
			{
				Health	18000
				Name "tankboss_sentrytank"
				Speed	50
				Skin 1
				StartingPathTrackNode "tank_path_sentrytank"
				ClassIcon 	tank_sentry_lvl3
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}	
		}
		
		WaveSpawn
		{
			Name	wave6c
			WaitForAllSpawned wave6b
			TotalCurrency 100
			TotalCount	3
			MaxActive 	3
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns 	12
			Where	spawnbot_center	

			TFBot	
			{
				Template	T_TFBot_Giant_Demo_Burst
			}
		}		
		
		WaveSpawn
		{
			Name	wave6d
			WaitForAllSpawned wave6c
			TotalCurrency 75
			TotalCount	4
			MaxActive 	4
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns 	15
			Where	spawnbot_center	
			Squad
			{
			
				TFBot	
				{
					Template	T_TFBot_Giant_Soldier_Spammer_Reload
				}	
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Tag	bot_squad_member
				}
			}	
		}		
		
	}	
	Wave //1500 credits 1600 bonus
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		InitWaveOutput
        {
			Target	games_close_relay
			Action	Trigger
		}	

		
		WaveSpawn
		{
			Name	wave7a
			TotalCurrency 100
			TotalCount	1
			MaxActive 	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns 	7
			Where	spawnbot_center
		
			TFBot	
			{
				Class Heavyweapons
				Name "It Insists Upon Itself"
				ClassIcon 	heavy_mafiaboss
				Skill Expert
				Health 60000
				Item 	"Capone's Capper"
				Item	"Tomislav"
				//Item	"The Family Business"
				Item	"The Eviction Notice"
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes UseBossHealthBar
				Attributes	AlwaysCrit
				UseMeleeThreatPrioritization 1  
				
				ItemAttributes
				{
					ItemName "Tomislav"
					"damage bonus"	1.5
					"fire rate bonus" 0.6
				}				
				
			//	ItemAttributes
			//	{
			//		ItemName "The Family Business"
			//		"fire rate bonus" 2.5
			//		"bullets per shot bonus" 10
			//		"damage penalty" 0.5
			//		"faster reload rate" 0.1
			//	}			

				ItemAttributes
				{
					ItemName "The Eviction Notice"
					"damage bonus" 4
					"mod_maxhealth_drain_rate" 0
					"move speed bonus"	1.4
					"provide on active" 1
				}
				
				CharacterAttributes
				{
					"move speed bonus"	0.35
					"damage force reduction" 0.3
					"airblast vulnerability multiplier" 0.3
					"override footstep sound set" 2
					"rage giving scale" 0.25
				}
			
					WeaponSwitch  
					{
						Delay 0.01
						Cooldown 9999
						Repeats 1
						Type "Melee"
					}
				//	WeaponSwitch  
				//	{
				//		Delay 0
				//		Cooldown 9999
				//		Repeats 1
				//		Type "Secondary"
				//		Ifhealthbelow 50001
				//	}				
					WeaponSwitch  
					{
						Delay 0
						Cooldown 9999
						Repeats 1
						Type "Primary"
						Ifhealthbelow 35001
					}
			}
		}
		
		WaveSpawn
		{
			Name	wave7a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	10
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns 	1
			Where	spawnbot
			Support	1
			RandomChoice
			{
				TFBot	
				{
					Class	Soldier
					Skill	Hard
					Name	"I Do Not Care For The Godfather" 
				}				
				
				TFBot	
				{
					Template	T_TFBot_Sniper_Huntsman
					Name	"I Love The Money Pit" 
					Attributes	AlwaysCrit
				}
			}	
		}	
		WaveSpawn
		{
			Name	wave7a
			TotalCurrency 100
			TotalCount	100
			MaxActive 	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns 	0
			Where	spawnbot_chips
			Support	1

			TFBot	
			{
				Class	Scout
				Skill	Hard
				Name	"Did Not Like The Movie" 
				ClassIcon	chip
				WeaponRestrictions	MeleeOnly
				Tag	chips_count_5
			}				
		}
	}	
}