// tank health starts at 35000 due to longer tank path

#base robot_giant.pop 
#base robot_standard.pop

WaveSchedule
{

	StartingCurrency		4000
	RespawnWaveTime 		2
	CanBotsAttackWhileInSpawnRoom no
                     FixedRespawnWaveTime Yes



// MISSION: Sentry Buster
	Mission
	{
		Objective DestroySentries
		Where rb_4
		CooldownTime 30
                                            RandomChoice
                                          {

TFBot
		{
			Template T_TFBot_SentryBuster
		}
             
                                            }

                       }



	// MISSION: Sniper
        Mission
	{
		Objective Sniper  

		InitialCooldown 10
		Where rb_2
		
                                            BeginAtWave 1
		CooldownTime 10
		DesiredCount 2
                                           RandomChoice
                {
		

               TFBot
		{
			Class Sniper
                        Name "Accurately Sniper"
                        Health 130
			Skill Expert 
                        
                        WeaponRestrictions PrimaryOnly
                        Attributes AlwaysCrit
                        CharacterAttributes
			{
				"move speed bonus"	1.0
                                "damage bonus"         1.0
                                "sniper charge per sec"     5.0
			} 
		}


  }
}



// MISSION: Sniper
        Mission
	{
		Objective Sniper  

		InitialCooldown 10
		Where rb_6_1
		
                                            BeginAtWave 1
		CooldownTime 10
		DesiredCount 2
                                           RandomChoice
                {
		

                TFBot
		{
				Template 	T_TFBot_Sniper_Sydney_Sleeper
			
		}


  }
}

Mission // Engineer 
	{
		Objective Engineer  

		InitialCooldown 15
		Where rb_3
		BeginAtWave 1
		RunForThisManyWaves 23
		CooldownTime 20
		DesiredCount 2
                                           RandomChoice
                                          {
                
                TFBot
		{
			Class Engineer
			Name "Engineer"
                                                                 
			Skill Expert
			
			Health 275
                                                                 CharacterAttributes
			{
				"build rate bonus"    0.8
			} 
                        
		}



                     


                  }
}

                   
Mission // Engineer 
	{
		Objective Engineer  

		InitialCooldown 15
		Where rb_6_2
		BeginAtWave 1
		RunForThisManyWaves 23
		CooldownTime 20
		DesiredCount 2
                                           RandomChoice
                                          {
                
                TFBot
		{
			Class Engineer
			Name "Engineer"
                                                                 
			Skill Expert
			
			Health 275
                                                                 CharacterAttributes
			{
				"build rate bonus"    0.8
			} 
                        
		}



                     


                  }
}



                        
	
		
//WAVE 1 //Currency 600 ///////////////////////////////////////////////////////////////////////////////////////////////////////
Wave
{
	StartWaveOutput
		{
			Target rl_start
			Action trigger
		}
	DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
	WaitWhenDone 65
	Checkpoint Yes
	
	WaveSpawn // Regular bots before boss fight
	{
			Where rb_1
			TotalCount 40
			MaxActive 8
			SpawnCount 1
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 8000		
			Randomchoice
                                                             {
		
                                                         

                                         TFBot
		{
			Class Soldier
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}




                                  TFBot
		{
			Class Sniper
			Skill Normal
                        WeaponRestrictions SecondaryOnly
		Classicon sniper_smg
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}

                                   

                              TFBot
		{
			Class Scout
			Skill Easy
		Classicon scout_pistol
                        WeaponRestrictions SecondaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}

                                 TFBot
		{
			Class Scout
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}


                             TFBot
		{
			Template 	T_TFBot_Scout_FAN
		}
                                          

                                         TFBot
		{
			Class Demoman
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                        Attributes HoldFireUntilFullReload
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}


                                         TFBot
				{
					Class Heavyweapons
					Skill Easy
					WeaponRestrictions PrimaryOnly
									
				}


                                          TFBot
			{
				Class Heavyweapons
				Skill Easy
                                Name "Steel Gauntlet"
                                Health 400
                                Scale 1.0
                                WeaponRestrictions MeleeOnly
                                Item "Fists of Steel"
			ClassIcon heavy_steelfist
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
			}
                                                   
                                     

                               TFBot
			{
				Class Sniper
				Skill normal
                                Name "Hunter"
                                WeaponRestrictions PrimaryOnly
                                Item "Larrikin Robin"
                                Item "The Huntsman"
                              ClassIcon sniper_bow
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
			}



                              TFBot
			{
				Template 	T_TFBot_Demoman_Knight
                        }



                             TFBot
			{
				Class Pyro
				Skill Normal
                                Name "Detonator Pyro"
			Classicon pyro_detonator
                                WeaponRestrictions SecondaryOnly
                                Item "The Detonator"
                                Item "Brigade Helm"
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "weapon burn dmg increased"      3.0

                             
				
			}
 
                        }





                            TFBot
		{
			Template		T_TFBot_Medic
		}




                                        TFBot
			{
				Class Medic
				Skill Easy
                                Name "Critical Medic"
			Classicon medic_kritz
                                Attributes SpawnWithFullCharge
                                Item "The Kritzkrieg"
                                WeaponRestrictions SecondaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	0.5
                                "overheal bonus"        10.0
                                

			}
			}


 TFBot
			{
				Class Soldier
				Skill Easy
                                Name "Samurai Soldier"
			Classicon soldier_samurai_conch
                                WeaponRestrictions MeleeOnly
                                Item "The Half-Zatoichi"
                                Item "The Concheror"
                                Item "Furious Fukaamigasa"
                                Attributes SpawnWithFullCharge
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "increase buff duration"      5.0
                              
			}

                        }           



 TFBot
			{
				Class Soldier
				Skill Easy
                                Name "Minicrit Soldier"
			Classicon soldier_buff
                                WeaponRestrictions MeleeOnly
                                Item "The Equalizer"
                                Item "The Buff Banner"
                                Item "Soldier's Stash"
                                Attributes SpawnWithFullCharge
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "increase buff duration"      5.0
			}

                        }



TFBot
			{
				Class Soldier
				Skill Easy
                                Name "Resistant Soldier"
			Classicon soldier_backup
                                WeaponRestrictions MeleeOnly
                                Item "The Escape Plan"
                                Item "The Battalion's Backup"
                                Item "The Grenadier's Softcap"
                                Attributes SpawnWithFullCharge
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "increase buff duration"      5.0
			}

                        }



TFBot
		{
			Class Pyro
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}



  TFBot
		{
			Class Heavyweapons
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}






                                                           }

                       }





WaveSpawn //After boss fight
	{
			Where rb_6
			TotalCount 100
			MaxActive 7
			SpawnCount 1
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 1500		
			Randomchoice
                                                             {
		
                                                         

                                         TFBot
		{
			Class Soldier
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}




                                  TFBot
		{
			Class Sniper
			Skill Normal
		Classicon sniper_smg
                        WeaponRestrictions SecondaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}

                                   

                              TFBot
		{
			Class Scout
			Skill Easy
		Classicon scout_pistol
                        WeaponRestrictions SecondaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}

                                 TFBot
		{
			Class Scout
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}


                             TFBot
		{
			Template		 T_TFBot_Scout_FAN
		}
                                          

                                         TFBot
		{
			Class Demoman
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                        Attributes HoldFireUntilFullReload
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}


                                         TFBot
				{
					Class Heavyweapons
					Skill Easy
					WeaponRestrictions PrimaryOnly
									
				}


                                          TFBot
			{
				Class Heavyweapons
				Skill Easy
                                Name "Steel Gauntlet"
			ClassIcon heavy_steelfist
                                Health 400
                                Scale 1.0
                                WeaponRestrictions MeleeOnly
                                Item "Fists of Steel"
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
			}
                                                   
                                     

                               TFBot
			{
				Class Sniper
				Skill normal
                                Name "Hunter"
                                WeaponRestrictions PrimaryOnly
                                Item "Larrikin Robin"
                                Item "The Huntsman"
                                Classicon sniper_bow
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
			}



                              TFBot
			{
				Template		T_TFBot_Demoman_Knight
                        }



                             TFBot
			{
				Class Pyro
				Skill Normal
                                Name "Detonator Pyro"
			Classicon pyro_detonator
                                WeaponRestrictions SecondaryOnly
                                Item "The Detonator"
                                Item "Brigade Helm"
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "weapon burn dmg increased"      3.0

                             
				
			}
 
                        }





                            TFBot
		{
			Template T_TFBot_Medic
		}




                                        TFBot
			{
				Class Medic
				Skill Easy
                                Name "Critical Medic"
			Classicon medic_kritz
                                Attributes SpawnWithFullCharge
                                Item "The Kritzkrieg"
                                WeaponRestrictions SecondaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	0.5
                                "overheal bonus"        10.0
                                

			}
			}


 TFBot
			{
				Class Soldier
				Skill Easy
                                Name "Samurai Soldier"
			Classicon soldier_samurai_conch
                                WeaponRestrictions MeleeOnly
                                Item "The Half-Zatoichi"
                                Item "The Concheror"
                                Item "Furious Fukaamigasa"
                                Attributes SpawnWithFullCharge
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "increase buff duration"      5.0
                              
			}

                        }           



 TFBot
			{
				Class Soldier
				Skill Easy
                                Name "Minicrit Soldier"
			Classicon soldier_buff
                                WeaponRestrictions MeleeOnly
                                Item "The Equalizer"
                                Item "The Buff Banner"
                                Item "Soldier's Stash"
                                Attributes SpawnWithFullCharge
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "increase buff duration"      5.0
			}

                        }



TFBot
			{
				Class Soldier
				Skill Easy
                                Name "Resistant Soldier"
			Classicon soldier_backup
                                WeaponRestrictions MeleeOnly
                                Item "The Escape Plan"
                                Item "The Battalion's Backup"
                                Item "The Grenadier's Softcap"
                                Attributes SpawnWithFullCharge
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                "increase buff duration"      5.0
			}

                        }



TFBot
		{
			Class Pyro
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}



  TFBot
		{
			Class Heavyweapons
			Skill Easy
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
			}
		}






                                                           }

                       }


WaveSpawn // System Bot
	{
			Where rb_0
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 0		
			
		
                                                         

                                         TFBot
				{
					Class Scout
					Skill Easy
                                                                                                           Health 1000000
					WeaponRestrictions PrimaryOnly
									
				}




                                
                                                  
                       }




WaveSpawn // Giant Robots
		  // They spawn before the boss fight
	{
			Where rb_4
			TotalCount 10
			MaxActive 2
			SpawnCount 1
			WaitBetweenSpawns 1
			WaitBeforeStarting 0
			TotalCurrency 10000		
			Randomchoice
                                                             {
		
                                                         TFBot	
		{
			Template T_TFBot_Giant_Soldier_Crit
		}

                                         



                             TFBot	
		{
			Template T_TFBot_Giant_Scout_Baseball_Armored
		}


                             TFBot	
		
		{
			Class Heavyweapons
			Name "Giant Natascha Heavy"
			Classicon heavy_natascha
			Attributes MiniBoss
			Skill Normal
                                                             Item "Heavy Hair"
                                                              Item "Natascha"
			Health 5000
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage bonus"	1.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
                                                                "dmg taken from bullets reduced"    0.5
			}
		}


                                 TFBot
			{
				Template T_TFBot_Giant_Pyro_Pusher
 
                        }



                                  TFBot
		{
			Template T_TFBot_Giant_Demo_RapidFire
		}


                            TFBot
			{
				Class Sniper
				Skill Hard
                                Name "Giant Unzoom Shooter Sniper"
			Classicon sniper_bazaar
                                Health 3000
                                Attributes MiniBoss
                                Item "The Bazaar Bargain"
                        
                        Item "Your Worst Nightmare"
                                Attributes AlwaysFireWeapon
                                WeaponRestrictions PrimaryOnly
                                Scale 2.0
                                CharacterAttributes
			{
                                                                                      
				"move speed bonus"	0.5
                                                                                     "fire rate bonus"           0.9
				"damage bonus"	2.0
				
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
                                                               "heal on kill"               3000                
                                                                                
                                                                                     
			}
			}


                               TFBot
			{
				Class Medic
				Skill Hard
                                Name "Giant Medic"
			Classicon medic_uber
                                Health 4500
                                Attributes MiniBoss
                                Attributes AlwaysFireWeapon
                                WeaponRestrictions SecondaryOnly
                                Scale 2.0
                                CharacterAttributes
			{
				"move speed bonus"	0.5
                                
				"damage bonus"	1.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
                                "ubercharge rate bonus"        2.0
                                "overheal bonus"          3.0
                                "heal rate bonus"       3.0
                                    "health drain"             150
                               
			}
			}



                             

                                
                                                  }
                       }



	WaveSpawn // Bannai phase 1
			  // Start Currency: 26000
			  // End Currency: 31000
	{
		Where rb_5
		TotalCount 1
		MaxActive 1
		SpawnCount 1
        Name "wave01"
		WaitBetweenSpawns 0
		WaitBeforeStarting 0
		TotalCurrency 500		
			
		TFBot
		{
			Class Demoman
			Skill Expert
            Name "Bannai"
            MaxVisionRange 2500
            Attributes MiniBoss
			Attributes UseBossHealthBar
            Health 1400000
            Item "The Claidheamohmor"
            Item "The Chargin' Targe"
            Item "Scotch Bonnet"
            Item "The Liquor Locker"
            Item "The Bird-Man of Aberdeen"
            ClassIcon newbe_reaper
            Scale 1.0
            WeaponRestrictions MeleeOnly
            CharacterAttributes
			{
				"move speed bonus"	2.5
                "fire rate bonus"        1.0
                "restore health on kill" 5
                "melee range multiplier"      2.5
                "melee bounds multiplier"    2.0
                "dmg bonus vs buildings"   3.0
                "charge recharge rate increased"      3
                "charge time increased"     10
                "mult charge turn control"        10.0
                "damage bonus"	10.0
				"cancel falling damage"   1
				"airblast vulnerability multiplier"		-100
			}
		}
	}


	WaveSpawn // Phase 2
	{
		Where rb_5_3
		TotalCount 1
		MaxActive 1
		SpawnCount 1
        Name "wave02"
        WaitForAllDead "wave01"
		WaitBetweenSpawns 0
		WaitBeforeStarting 2
		TotalCurrency 500
        
		TFBot
		{
			Class Demoman
			Skill Expert
            Name "Bannai"
            Attributes MiniBoss
			Attributes UseBossHealthBar
            Health 400000 // Nerfed for playing faster
            MaxVisionRange 2500
            Item "The Half-Zatoichi"
            Item "The Splendid Screen"
            Item "Scotch Bonnet"
            Item "The Liquor Locker"
            Item "The Bird-Man of Aberdeen"
            ClassIcon newbe_reaper
            Scale 1.0
            WeaponRestrictions MeleeOnly
            CharacterAttributes
			{
				"move speed bonus"	2.5
				"gesture speed increase"   3.0
                "fire rate bonus"        0.35
                "melee range multiplier"      2.5
                "charge recharge rate increased"      20
				"charge time increased"     18
                "mult charge turn control"        10.0
                "damage bonus"	1.5
				"charge impact damage increased" 30
				"cancel falling damage"   1
				"airblast vulnerability multiplier"		-100
			}
		}
	}


	WaveSpawn // Phase 3
	{
		Where rb_5_3
		TotalCount 1
		MaxActive 1
		SpawnCount 1
        Name "wave03"
        WaitForAllDead "wave02"
		WaitBetweenSpawns 0
		WaitBeforeStarting 2
		TotalCurrency 500
			
		TFBot
		{
			Class Demoman
			Skill Expert
            Name "Bannai"
            Attributes MiniBoss
			Attributes UseBossHealthBar
            Health 1600000
            MaxVisionRange 2500
            Item "Scotch Bonnet"
            Item "The Liquor Locker"
            Item "The Bird-Man of Aberdeen"
            Attributes HoldFireUntilFullReload
            ClassIcon newbe_reaper
            Scale 1.0
            WeaponRestrictions PrimaryOnly
            CharacterAttributes
            {
				"blast dmg to self increased" 0.0
				"cancel falling damage"   1
				"airblast vulnerability multiplier"		-100
            }
            ItemAttributes
			{
				ItemName "TF_WEAPON_GRENADELAUNCHER"
				"clip size upgrade atomic" 96
				"reload time increased hidden"    0.0
                "fire rate bonus"        0.05
                "damage bonus"	75.0
                "Blast radius decreased"    0.9
                "fuse bonus"   2.0
                "restore health on kill" 1
                "gesture speed increase"   3.0
                "projectile spread angle penalty"    100
                "cancel falling damage"   1
                "Projectile speed increased"     10.0
            }
		}
	}


	WaveSpawn // Phase 4
	{
		Where rb_5_3
		TotalCount 1
		MaxActive 1
		SpawnCount 1
        Name "wave04"
        WaitForAllDead "wave03"
		WaitBetweenSpawns 0
		WaitBeforeStarting 2
		TotalCurrency 3500		
			
		TFBot
		{
			Class Demoman
			Skill Expert
            Name "Bannai"
            Attributes MiniBoss
			Attributes UseBossHealthBar
            Health 2100000
            MaxVisionRange 2500
            Item "Scotch Bonnet"
            Item "The Liquor Locker"
            Item "The Bird-Man of Aberdeen"
            Attributes HoldFireUntilFullReload
			Attributes AlwaysCrit
            ClassIcon newbe_reaper
            Scale 1.0
            WeaponRestrictions SecondaryOnly
            CharacterAttributes
            {
				"blast dmg to self increased" 0.0
				"cancel falling damage"   1
				"airblast vulnerability multiplier"		-100
            }
            ItemAttributes
			{
				ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
				"reload time increased hidden"    0.0
				"use large smoke explosion" 1
                "damage bonus"	100.0
                "Blast radius increased"    5.0
				"fire rate bonus"        0.7
				"stickybomb charge rate" 0.0
            }
		}
	}


WaveSpawn //Spencer
		  //It doesn't fight
	{
			Where rb_5_1
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 0		
			
		
                                                         

        TFBot
		{
			Class Heavyweapons
			Skill Expert
                          Name "???"
                         Attributes MiniBoss
	 
                        Health 500000
                         Item "The Team Captain"
                         Item "Large Luchadore"
                        
                        
                         
                       Scale 1.0
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                                                                       "reload time increased hidden"    0.01
                                                                                      "fire rate bonus"        0.7
                                                                                     "airblast pushback scale"    3.0
                                                                                    "damage causes airblast"   1
                                                                                        "critboost on kill"      10
                                                                                          "heal on hit for rapidfire"   300
                                                                                        "damage bonus"	1.7
			}
		}




                                
                                                  
                       }


WaveSpawn //Maha
		  //It doesn't fight
	{
			Where rb_5_2
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 0		
			
		
                                                         

                                        TFBot
		{
			Class Pyro
			Skill Expert
                          Name "???"
                         Attributes MiniBoss
	 
                        Health 500000
                        Item "The Cremator's Conscience"
                         Item  "Pyromancer's Mask"
                        
                        
                          Item "Pet Balloonicorn"
                       Scale 1.0
                        WeaponRestrictions PrimaryOnly
                                CharacterAttributes
			{
				"move speed bonus"	1.0
                                                                                       "reload time increased hidden"    0.01
                                                                                      "fire rate bonus"        0.7
                                                                                     "airblast pushback scale"    3.0
                                                                                    "damage causes airblast"   1
                                                                                        "critboost on kill"      10
                                                                                          "heal on hit for rapidfire"   300
                                                                                        "damage bonus"	1.7
			}
		}




                                
                                                  
                       }




                       }
}