#base robot_giant.pop
#base robot_standard.pop

// By Jmp / LASER ACE

WaveSchedule
{
    StartingCurrency		1400
	RespawnWaveTime 		3
	CanBotsAttackWhileInSpawnRoom no
	
	Templates
	{
		T_TFBot_Soldier_InstantBanner
	    {
	        Class Soldier
	        Name "Instant Banner Soldier"
	        ClassIcon soldier_conch
	        Skill hard
	        Item "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
	        Item "The Concheror"
	        WeaponRestrictions PrimaryOnly
	        ItemAttributes
	        {
	            ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
	            "mod rage on hit bonus" 100  // Gains 100% banner on hit, 50 would be 50%
	        }
	        CharacterAttributes
	        {
	            "single wep deploy time increased" 0.33
	        }
	    }
		T_TFBot_Medic_SuperHeal
        {
            Class Medic
            Name "Super Heal Medic"
            Skill easy
            Item "The Quick-Fix"
			Name "Big Heal Medic"
			Item "Otolaryngologist's Mirror"
			Attributes IgnoreFlag
			Attributes IgnoreEnemies
			ItemAttributes
			{
				ItemName "The Quick-Fix"
				"ubercharge rate bonus" 0.1
			    "uber duration bonus" -4
			}
			CharacterAttributes
			{
				"heal rate bonus" 100
			}
        }
		T_TFBot_Medic_Shield
        {
            Class Medic
            Skill normal
            Name "Shield Medic"
            ClassIcon medic_shield
            Item "The Quick-Fix"
            Attributes ProjectileShield
            Attributes SpawnWithFullCharge
            Attributes IgnoreEnemies
            WeaponRestrictions SecondaryOnly
            ItemAttributes
            {
                ItemName "The Quick-Fix"
                "generate rage on heal" 1
                "uber duration bonus" -8
                "ubercharge rate bonus" 0.01
                "increase buff duration" 90
            }
            CharacterAttributes
            {
                "heal rate bonus" 5
                "bot medic uber health threshold" 0
            }
        }
		T_TFBot_Giant_Demoman_Knight_TideTurner
        {
            Class Demoman
	        Skill expert
	        ClassIcon demoknight
	        Name "Giant Demoknight"
	        WeaponRestrictions MeleeOnly
	        Item "Prince Tavish's Crown"
	        Item "Ali Baba's Wee Booties"
	        Item "The Tide Turner"
	        Item "The Eyelander"
	        Health 3300
	        Attributes MiniBoss
            ItemAttributes
			{
				ItemName "The Eyelander"
				"critboost on kill" 3
				"max health additive penalty" -0
			}
			ItemAttributes
			{
			    ItemName "The Tide Turner"
			    "charge recharge rate increased" 1.5
			    "attack not cancel charge" 1
			    "lose demo charge on damage when charging" 0
			}
			CharacterAttributes
			{
				"move speed bonus" 0.5
				"charge time increased" 2
				"damage force reduction" 0.5
				"airblast vulnerability multiplier" 0.5
				"override footstep sound set" 4
			}
        }
	}
	
	Mission
	{
		Objective DestroySentries
		InitialCooldown 20
		Where spawnbot_mission_sentry_buster
		BeginAtWave 1
		RunForThisManyWaves 9
		CooldownTime 42
        TFBot
        {
            Template T_TFBot_SentryBuster
        }
	}
	Mission
	{
		Objective Sniper
		InitialCooldown 15
		Where "spawnbot_mission_sniper"
		BeginAtWave 1
		RunForThisManyWaves 1
		CooldownTime 32
		DesiredCount 2
	    TFBot
	    {
	        Template T_TFBot_Sniper
	    }
	}
	Mission
	{
		Objective Engineer

		InitialCooldown 25
		Where "spawnbot_right"
		BeginAtWave 2
		RunForThisManyWaves 1
		CooldownTime 40
		DesiredCount 1

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Tele_Battle
			TeleportWhere spawnbot
			TeleportWhere spawnbot_right
			TeleportWhere spawnbot_left
			Attributes IgnoreFlag
			Health 275
		}
	}
	Mission
	{
		Objective Engineer

		InitialCooldown 15
		Where "spawnbot"
		BeginAtWave 4
		RunForThisManyWaves 2
		CooldownTime 30
		DesiredCount 1

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Tele_Battle
			TeleportWhere spawnbot
			TeleportWhere spawnbot_right
			TeleportWhere spawnbot_left
			Attributes IgnoreFlag
			Health 275
		}
	}
	Mission
	{
		Objective Sniper
		InitialCooldown 15
		Where "spawnbot_mission_sniper"
		BeginAtWave 5
		RunForThisManyWaves 1
		CooldownTime 36
		DesiredCount 1
	    TFBot
	    {
	        Template T_TFBot_Sniper_Sydney_Sleeper
	    }
	}
	
	// WAVE 1 - 1000$ (current 1400$)

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w1a"
			Where spawnbot_left
			TotalCount 60
			MaxActive 14
			SpawnCount 2
			WaitBeforeStarting 2
			WaitBetweenSpawns 2
			TFBot
			{
				Template T_TFBot_Scout_Sandman
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w1a"
			Where spawnbot_left
			TotalCount 7
			SpawnCount 1
			MaxActive 3
			WaitBetweenSpawns 9
			WaitBeforeStarting 1
			TFBot
			{
				Template T_TFBot_Giant_Demo_Burst
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w1b"
			Where spawnbot_right
			TotalCount 8
			SpawnCount 2
			MaxActive 4
			WaitBeforeStarting 4
			WaitBetweenSpawns 17
			WaitForAllDead "w1a"
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Shotgun
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w1b"
			Where spawnbot_right
			TotalCount 52
			SpawnCount 4
			MaxActive 12
			WaitBeforeStarting 2
			WaitBetweenSpawns 4
			WaitForAllDead "w1a"
			TFBot
			{
				Class Demoman
				Skill easy
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w1c"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 54
			SpawnCount 1
			MaxActive 9
			WaitBeforeStarting 5
			WaitBetweenSpawns 1
			WaitForAllDead "w1b"
			RandomSpawn 1
			TFBot
			{
				Class Soldier
				Skill hard
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w1c"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 54
			SpawnCount 1
			MaxActive 9
			WaitBeforeStarting 5
			WaitBetweenSpawns 1
			WaitForAllDead "w1b"
			RandomSpawn 1
			TFBot
			{
				Class Scout
				Skill hard
			}
		}
	}
	
	// WAVE 2 - 1200$ (current 2400$)

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w2a"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 7
			MaxActive 3
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 8
			RandomSpawn 1
			TFBot
			{
				Template T_TFBot_Giant_Scout_Baseball
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w2a"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 7
			MaxActive 3
			SpawnCount 1
			WaitBeforeStarting 4
			WaitBetweenSpawns 8
			RandomSpawn 1
			TFBot
			{
				Template T_TFBot_Giant_Scout_Fast
				Attributes AlwaysCrit
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w2b"
			Where spawnbot_left
			TotalCount 2
			SpawnCount 2
			MaxActive 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			WaitForAllSpawned "w2a"
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic
				}
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w2c"
			TotalCount 1
			WaitBeforeStarting 16
			WaitForAllSpawned "w2b"
			Tank
            {
                Health 35000
                Name "tankboss"
                Speed 75
                StartingPathTrackNode "boss_path_ra_1"

                OnKilledOutput
                {
                    Target boss_dead_relay
                    Action Trigger
                }
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w2c"
			Where spawnbot_all
			TotalCount 12
			SpawnCount 1
			MaxActive 5
			WaitBeforeStarting 1
			WaitBetweenSpawns 4
			WaitForAllDead "w2b"
			TFBot
			{
				Template T_TFBot_Giant_Pyro
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w2c"
			Where spawnbot_right
			TotalCount 16
			SpawnCount 1
			MaxActive 4
			WaitBeforeStarting 4
			WaitBetweenSpawns 4
			WaitForAllDead "w2b"
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman_Spammer
				ClassIcon sniper_bow_multi
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w2c"
			Where spawnbot_left
			TotalCount 50
			SpawnCount 10
			MaxActive 10
			WaitBeforeStarting 6
			WaitBetweenSpawns 11
			WaitForAllDead "w2b"
			TFBot
			{
				Class Heavy
				Skill hard
				WeaponRestrictions PrimaryOnly
			}
		}
	}
	
	// WAVE 3 - 900$ (current 3600$)

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w3a"
			Where spawnbot_all
			TotalCount 9
			SpawnCount 1
			MaxActive 9
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Spammer
			}
		}
		
		WaveSpawn
		{	
			TotalCurrency 0
			Support 1
			Where spawnbot_right
			TotalCount 100
			SpawnCount 2
			MaxActive 2
			WaitBeforeStarting 6
			WaitBetweenSpawns 11
			WaitForAllDead "w3a"
			TFBot
			{
				Template T_TFBot_Scout_Bonk
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w3b"
			Where spawnbot_left
			TotalCount 15
			SpawnCount 3
			MaxActive 6
			WaitBeforeStarting 1
			WaitBetweenSpawns 10
			WaitForAllDead "w3a"
			TFBot
			{
				Template T_TFBot_Giant_Demoman_Knight_TideTurner
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w3b"
			Where spawnbot_left
			TotalCount 48
			SpawnCount 3
			MaxActive 12
			WaitBeforeStarting 4
			WaitBetweenSpawns 2.5
			WaitForAllDead "w3a"
			RandomSpawn 1
			TFBot
		    {
		        Class Soldier
		        Skill expert
		        Item "The Direct Hit"
		    }
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w3c"
			Where spawnbot_left
			TotalCount 60
			SpawnCount 2
			MaxActive 14
			WaitBeforeStarting 7
			WaitBetweenSpawns 1
			WaitForAllSpawned "w3b"
			RandomChoice
			{
				TFBot
				{
					Class Demoman
					Skill easy
				}
				TFBot
				{
					Class Demoman
					Skill hard
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w3c"
			Where spawnbot
			TotalCount 18
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 4
			WaitBetweenSpawns 5
			WaitForAllSpawned "w3b"
			Squad
			{
				TFBot
				{
					Template T_TFBot_Scout_Shortstop
				}
				TFBot
				{
					Template T_TFBot_Medic_SuperHeal
					Attributes SpawnWithFullCharge
				}
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 100
			Name "w3d"
			Where spawnbot
			TotalCount 4
			SpawnCount 1
			MaxActive 4
			WaitBeforeStarting 5
			WaitBetweenSpawns 2.5
			WaitForAllSpawned "w3c"
			TFBot
			{
				Template T_TFBot_Giant_Scout_Baseball_Armored
			}
		}
	}
	
	// WAVE 4 - 1700$ (current 4500$)

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			TotalCurrency 150
			Name "w4a"
			Where spawnbot_left
			TotalCount 2
			SpawnCount 2
			MaxActive 2
			WaitBeforeStarting 6
			WaitBetweenSpawns 0
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_RocketShotgun
					CharacterAttributes
                    {
                        "reload time decreased while healed" 0.00001
                    }
				}
				TFBot
                {
                    Class Medic
                    Skill normal
                    ClassIcon medic_boost_giant
                    Name "Giant Booster Medic"
                    Item "The Kritzkrieg"
                    Item "Platinum Pickelhaube"
                    Health 4500
                    Attributes IgnoreEnemies
                    Attributes MiniBoss
                    ItemAttributes
                    {
                        ItemName "Platinum Pickelhaube"
                        "set item tint rgb" 16738740
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 0.5
                        "damage force reduction" 0.3
                        "airblast vulnerability multiplier" 0.3
                        "bot medic uber health threshold" 5000
                        "heal rate bonus" 200
                    }
                }
			}
		}
		WaveSpawn
		{
			TotalCurrency 150
			Name "w4a"
			Where spawnbot_right
			TotalCount 2
			SpawnCount 2
			MaxActive 2
			WaitBeforeStarting 22
			WaitBetweenSpawns 0
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_RocketShotgun
					CharacterAttributes
                    {
                        "reload time decreased while healed" 0.00001
                    }
				}
				TFBot
                {
                    Class Medic
                    Skill normal
                    ClassIcon medic_boost_giant
                    Name "Giant Booster Medic"
                    Item "The Kritzkrieg"
                    Item "Platinum Pickelhaube"
                    Health 4500
                    Attributes IgnoreEnemies
                    Attributes MiniBoss
                    ItemAttributes
                    {
                        ItemName "Platinum Pickelhaube"
                        "set item tint rgb" 16738740
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 0.5
                        "damage force reduction" 0.3
                        "airblast vulnerability multiplier" 0.3
                        "bot medic uber health threshold" 5000
                        "heal rate bonus" 200
                    }
                }
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w4a_t"
			TotalCount 1
			WaitBeforeStarting 1
			Tank
            {
                Health 25000
                Name "tankboss"
                Speed 75
                StartingPathTrackNode "boss_path_rb_1"

                OnKilledOutput
                {
                    Target boss_dead_relay
                    Action Trigger
                }
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w4a_t"
			TotalCount 1
			WaitBeforeStarting 8
			Tank
            {
                Health 25000
                Name "tankboss"
                Speed 75
                StartingPathTrackNode "boss_path_la_1"

                OnKilledOutput
                {
                    Target boss_dead_relay
                    Action Trigger
                }
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
		}
		
		WaveSpawn
		{
			TotalCurrency 100
			Name "w4b"
			Where spawnbot_all
			TotalCount 12
			SpawnCount 12
			MaxActive 12
			WaitBeforeStarting 10
			WaitBetweenSpawns 0
			WaitForAllDead "w4a"
			RandomSpawn 1
			TFBot
			{
				Class Pyro
				Skill Expert
				Attributes AlwaysCrit
				Item "Old Guadalajara"
				ItemAttributes
				{
					ItemName "TF_WEAPON_FLAMETHROWER"
					"damage bonus"	2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	1.5
				}
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w4c"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 24
			SpawnCount 4
			MaxActive 8
			WaitBeforeStarting 7
			WaitBetweenSpawns 9
			WaitForAllDead "w4b"
			RandomSpawn 1
			Squad
			{
				TFBot
		        {
		            Class Pyro
		            Name "Dragon's Fury Pyro"
                    ClassIcon pyro_dragon_fury_swordstone
                    Skill expert
                    Item "The Dragon's Fury"
                    Health 3000
                    Attributes MiniBoss
                    Tag default
                    MaxVisionRange 900
                    ItemAttributes
                    {
                        ItemName "The Dragon's Fury"
                        "damage bonus" 1.5
                    }
                    CharacterAttributes
                    {
                        "move speed bonus"	0.5
                        "damage force reduction" 0.3
                        "airblast vulnerability multiplier" 0.3
                        "override footstep sound set" 2
                    }
                    UseMeleeThreatPrioritization 1  
                    AimLeadProjectileSpeed 2700  
		        }
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w4c"
			Where spawnbot_left
			TotalCount 32
			SpawnCount 1
			MaxActive 6
			WaitBeforeStarting 6
			WaitBetweenSpawns 1.4
			WaitForAllDead "w4b"
			TFBot
			{
				Template T_TFBot_Heavyweapons_Fist
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w4c"
			Where spawnbot_right
			TotalCount 24
			SpawnCount 3
			MaxActive 7
			WaitBeforeStarting 8
			WaitBetweenSpawns 4
			WaitForAllDead "w4b"
			TFBot
			{
				Template T_TFBot_Soldier_Extended_Concheror
			}
		}
		
		WaveSpawn
		{
			TotalCurrency 200
			Name "w4d"
			Where spawnbot
			TotalCount 54
			SpawnCount 9
			MaxActive 9
			WaitBeforeStarting 2
			WaitBetweenSpawns 7
			WaitForAllDead "w4c"
			TFBot
			{
				Template T_TFBot_Demo_Burst
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w4d"
			Where spawnbot_right
			TotalCount 40
			SpawnCount 2
			MaxActive 7
			WaitBeforeStarting 4
			WaitBetweenSpawns 3
			WaitForAllDead "w4c"
			TFBot
			{
				Class Scout
				Skill hard
				WeaponRestrictions PrimaryOnly
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w4d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 12
			SpawnCount 4
			MaxActive 4
			WaitBeforeStarting 1
			WaitBetweenSpawns 15
			WaitForAllDead "w4c"
			TFBot
			{
				Template T_TFBot_Heavyweapons_Heater
				Attributes AlwaysCrit
				Skill hard
			}
		}
	}
	
	// WAVE 5 - 1100$ (current 6200$)

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			TotalCurrency 150
			Name "w5a"
			Where spawnbot_all
			TotalCount 12
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 9
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Deflector
					Skill expert
				}
				TFBot
				{
					Template T_TFBot_Medic_SuperHeal
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w5a"
			Where spawnbot_all
			TotalCount 46
			SpawnCount 1
			MaxActive 8
			WaitBeforeStarting 4
			WaitBetweenSpawns 1
			TFBot
			{
				Class Demoman
				Skill Expert
				Attributes AlwaysCrit
				Item "Spine-Chilling Skull"
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"damage bonus"	2.0
					"faster reload rate" -0.8
					"Projectile speed increased" 2.0
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency 150
			Name "w5a"
			TotalCount 1
			WaitBeforeStarting 12
			Tank
            {
                Health 50000
                Name "tankboss"
                Speed 75
                StartingPathTrackNode "boss_path_lb_1"

                OnKilledOutput
                {
                    Target boss_dead_relay
                    Action Trigger
                }
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
		}
		
		WaveSpawn
		{
			TotalCurrency 100
			Name "w5b"
			Where spawnbot_right
			TotalCount 16
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 5
			WaitBetweenSpawns 7
			WaitForAllSpawned "w5a"
			TFBot
			{
				Template T_TFBot_Giant_Scout_FAN
			}
		}
		WaveSpawn
		{
			TotalCurrency 200
			Name "w5b"
			Where spawnbot_left
			TotalCount 46
			SpawnCount 2
			MaxActive 14
			WaitBetweenSpawns 1.5
			WaitBeforeStarting 10
			WaitForAllSpawned "w5a"
			TFBot
		    {
		        Class Demoman
		        Skill expert
		        Name "Lightning Demoman"
		        ClassIcon demo_lightning
		        Tag default
		        AimAt Body  
                AimLeadProjectileSpeed 0  
		        ItemAttributes
		        {
		            ItemName "TF_WEAPON_GRENADELAUNCHER"
		            "override projectile type" 1
		            "explosive bullets" 147
		            "sniper fires tracer" 1
		        }
		    }			
		}
		
		WaveSpawn
		{
			TotalCurrency 100
			Name "w5c"
			Where spawnbot_left
			TotalCount 12
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 8
			WaitBetweenSpawns 12
			WaitForAllSpawned "w5b"
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Spammer_Reload
					UseMeleeThreatPrioritization 1  
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w5c"
			Where spawnbot_right
			TotalCount 16
			SpawnCount 1
			MaxActive 4
			WaitBeforeStarting 10
			WaitBetweenSpawns 3
			WaitForAllSpawned "w5b"
			TFBot
			{
				Template T_TFBot_Demoman_Samurai
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w5c"
			Where spawnbot
			TotalCount 44
			SpawnCount 2
			MaxActive 8
			WaitBeforeStarting 9
			WaitBetweenSpawns 1.5
			WaitForAllSpawned "w5b"
			TFBot
			{
				Template T_TFBot_Pyro
				Skill expert
			}
		}
		WaveSpawn
		{
			TotalCurrency 50
			Name "w5d"
			TotalCount 1
			WaitBeforeStarting 20
			WaitForAllSpawned "w5c"
			Tank
            {
                Health 35000
                Name "tankboss"
                Speed 75
                StartingPathTrackNode "boss_path_lb_1"

                OnKilledOutput
                {
                    Target boss_dead_relay
                    Action Trigger
                }
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
		}
		WaveSpawn
		{
			TotalCurrency 50
			Name "w5d"
			TotalCount 1
			WaitBeforeStarting 14
			WaitForAllSpawned "w5c"
			Tank
            {
                Health 35000
                Name "tankboss"
                Speed 75
                StartingPathTrackNode "boss_path_rb_1"

                OnKilledOutput
                {
                    Target boss_dead_relay
                    Action Trigger
                }
                OnBombDroppedOutput
                {
                    Target boss_deploy_relay
                    Action Trigger
                }
            }
		}
		WaveSpawn
		{
			TotalCurrency 100
			Name "w5d"
			Where spawnbot_all
			TotalCount 22
			SpawnCount 2
			MaxActive 10
			WaitBeforeStarting 3
			WaitBetweenSpawns 5.5
			WaitForAllDead "w5c"
			TFBot
			{
				Template T_TFBot_Giant_Demoman
			}
		}
		WaveSpawn
		{
			TotalCurrency 0
			Name "w5d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 100
			MaxActive 9
			SpawnCount 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 4
			WaitForAllDead "w5c"
			RandomSpawn 1
			Support 1
			TFBot
			{
				Template T_TFBot_Heavy_IronFist_Airblast
			}
		}
	}
}