Megabonk Data: the numbers behind the game
A wiki of how Megabonk actually works, read straight from the game's code. Every formula here comes from Megabonk v1.0.69's compiled code (GameAssembly.dll, decompiled with Il2CppDumper and a disassembler) and from the game's own item, weapon, tome, character, enemy and map database, dumped from memory. Nothing is guessed from videos or wikis unless a line says so.
Updated Nov 16, 2026 · Game version 1.0.69
What's in here
| Page | What it covers |
|---|---|
| How the game works | What a run is, the goal, the core loop, how maps are generated and what sets Megabonk apart |
| Core math | How every stat is calculated, the three damage brackets, crits and overcrits, proc chances, armor, evasion, everything that touches a number |
| Status effects | Poison, burn, freeze, stun, Bloodmark, charm, execute |
| Maps & stages | Forest, Desert and Graveyard; tiers; every stage's timeline; spawn rates; the final swarm and its ghosts; bosses and Boss Curses |
| Enemies | Every enemy's base stats, and the HP and damage formulas that scale them |
| Luck, chests & shrines | Luck odds, chest prices, pots, Microwaves, Shady Guys, Moai, Charge, Greed, Cursed and Balance shrines |
| Items | Every item with what its code does |
| Weapons | Base damage, cooldowns, upgrade lines, proc coefficients, and how every tome changes every weapon |
| Tomes | Every tome, rarity multipliers, the level-up stat values, and which weapons each tome affects |
| Characters | Starting stats, per-level passives, how Dicehead's Gamba really scales |
| FAQ & map limits | How many shrines, Bald Heads and chests a map can have; what Luck does and doesn't affect |
| Maxing a run | A short strategy built on the data: luck and chests, Boss Curses, the final swarm and the 12–13 minute ghost wall |
The ten facts that matter most
- Damage comes in three brackets that multiply: items add to a flat bracket, level-up and shrine stat offers add to a % bracket, and the Damage Tome is its own multiplier. (Core math)
- Crit chance past 100% overcrits, and the multiplier grows quadratically: 1 crit ×2, 2 ×4, 3 ×6.25, 4 ×9.
- Most proc items have diminishing returns built in. Dragonfire, Ice Cube, Lightning Orb, Power Gloves and Key use x / (x + k), so the 10th copy adds far less than the first.
- Enemy HP in the final swarm multiplies by 4 every minute, and their damage doubles every minute. Strong builds keep up until 12:00; after that, percent-HP damage (Cursed Doll) and instant kills (Bob's Light) are what still work.
- The ghost wall is a code switch. The final swarm swaps in tougher ghosts at 1, 6 and 12 minutes. At 12:00 come Red Ghosts: 100 base HP, speed 10, can't be executed, and Bob's Light only kills them a third of the time.
- Stage 2 enemies start at about 30× base HP and stage 3 at about 150×. Time adds +10% HP per minute of the whole run.
- Each Boss Curse adds one more miniboss to every miniboss event and one more stage boss, and makes every boss 16% tougher.
- Chest prices depend only on how many chests you've opened, never on time: 30, 72, 115 … 569 at 10, then a jump to 952 at chest 11.
- Luck has steady but diminishing returns. 0→100% Luck triples Legendary chest odds (1.6% → 4.7%); 100→200% less than doubles them.
- Dicehead's Gamba fades: each level-up's free stat is worth 75% of a Common offer at level 1, 37.5% at level 50 and only 6% from level 300 on.
How to read the numbers
- n means the number of copies of an item you hold.
- Proc coefficient is a per-weapon number that scales most on-hit chances (Sniper 1.5, most weapons 1.0, Katana 0.95, Axe/Aura/Black Hole/Dragon's Breath 0.7).
- Base damage is a separate player number, 8 + your level, used by many items and status effects instead of your weapon's damage.
- Luck 1.0 = 100%. The game stores percentages as fractions.
- Where something was only partly traced in the code, the page says so.