From Brotato Wiki
Experience, or XP is used to level up. You can see your level and see your progress towards the next level in the top left corner by the green bar.
Whenever you Level Up, you gain +1 Max HP and you an Upgrade at the end of the wave.
You can increase your XP Gain with certain items such as Scar.
Some Characters gain more XP, like Mutant, while others gain less, like Lucky
Sources of XP
The Primary source of XP is by picking up the green currency dropped by enemies when they die. See Materials for more information.
The Materials gained by Harvesting grants XP and money for the shop in equal amounts.
The Pacifist gains 0.65 XP from each living enemy at the end of the wave, and each despawned enemy.
The Experience required to level up is:
XP Required = (Level + 3)*(Level + 3)
This means that the first Level Up requires 16 XP, or 4x4 (from level 0 to level 1), and getting to level 2 requires 25 XP, or 5x5.
|Total XP Required||0||16||41||77||126||190||271||371||492||636||805||1001||1226||1482||1771||2095||2456||2856||3297||3781||4310||4886||5511||6187||6916||7700||12515||27420||51025||369550|
XP Diminishing Returns
Since the required XP for the next level scales to the second power, buying an item that boosts your XP Gain, such as Scar, doesn't increase the amount of levels you gain by 20%.
For example, if you over the duration of a game would reach level 22 (5511 XP), starting with a Scar would instead mean you gained
5511*1.20 = 6613 XP
This is only enough XP to reach level 23, and about halfway towards level 24. So buying Scar didn't get you 20% extra levels, but rather about 1.5 additional levels.
Mutant on the other hand could in the same example expect to gain
5511*(100% + 200%) = 16533 XP
Which is enough to get to level 33. Notice that the Mutant has an XP Gain that is the same as 10 Scars, yet only gains 11 additional levels. But we saw that the first Scar gave 1.5 Levels. So you've expected 10 Scars to give about 15 levels.
This showcases the diminishing returns you gain on increasing your XP Gain.
Items with XP Gain
|Name||Rarity||Effects||Base Price||Limit||Unlocked By|
|Tier 3|| +40% XP Gain
-2% Life Steal
|Tier 2|| +25% XP Gain
+3 Melee Damage
|Tier 4|| +10 Engineering
+10% XP Gain
-3 Max HP
|Tier 3|| +25% XP Gain
+100% XP Gain during the next wave
+50% Enemy damage during the next wave
|Tier 1|| +20% XP Gain
Note that there are several Items that affects the amount of Experience you gain indirectly, by affecting the amount of materials you gain. For example:
- Fertilizer increases your Harvesting, giving you extra materials, which include Experience.
- Metal Detector gives you a chance for Materials to have double value, thus increasing the amount of Materials you get by 5%.
- Gentle Alien increases the amount of enemies you encounter, giving you additional material drops.
Characters With XP Gain
These Characters Have increased or decreased XP Gain:
Note that there are many characters that have abilities that affect the amount of Materials they gather, and thus indirectly affecting the amount of experience they gain. For example:
- Loud encounters a larger amount of enemies, which means more materials dropped.
- Arms Dealer has a large starting Harvesting which also grants experience.
- Streamer has a downside where enemies only drop half the amount of materials.