StatMod
Modify all 45 player stats with an easy-to-use color-coded GUI. Organized by category (Offensive, Defensive, Movement, Utility). Press F4 to open.
| Last updated | 12 hours ago |
| Total downloads | 202 |
| Total rating | 1 |
| Categories | Mods |
| Dependency string | anro-StatMod-1.0.4 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.738README
StatMod - Stat Modifier for Megabonk
Comprehensive stat modification mod that allows you to modify any of the game's 53 stats in real-time.
Features
- Modify all 45 player stats individually (CritChance, JumpHeight, MoveSpeed, DamageMultiplier, etc.)
- Color-coded categories: Offensive (Red), Defensive (Blue), Movement (Green), Utility (Yellow), Misc (Purple)
- Organized by category: Stats are grouped and sorted for easy navigation
- Category headers with icons: Visual separation between stat types
- Easy-to-use GUI with preset buttons for each stat type
- Search functionality to quickly find specific stats
- Current values shown for all stats
- Individual reset per stat
- "Reset All" function that only removes mod-applied changes (preserves game-given stats)
- Mod tracks all changes separately from game stats
Usage
- Install the mod in your BepInEx plugins folder
- Launch Megabonk
- Press F4 to open the stat modifier menu
- Use the search bar to find specific stats
- Click preset buttons to increase stats:
- Percentage stats (CritChance, Evasion): +10%, +25%, +50%, +100%
- Jump/Projectiles (whole numbers): +1, +2, +5, +10
- Multipliers (DamageMultiplier, MoveSpeed): +0.1x, +0.5x, +1.0x, +2.0x
- Health/Shield: +50, +100, +250, +500
- Other stats: +1, +5, +10, +25
- Click "Reset" next to a stat to remove only your mod changes
- Click "Reset All" to remove all mod-applied stat changes
UI Color Guide
The stats are organized into color-coded categories for easy identification:
- 🔴 Red (Offensive): Damage, attack speed, crits, elemental damage, projectiles
- 🔵 Blue (Defensive): Health, armor, shields, healing, damage reduction
- 🟢 Green (Movement): Movement speed, jump height, extra jumps, fall damage
- 🟡 Yellow (Utility): XP/gold multipliers, luck, pickup range, shop discounts
- 🟣 Purple (Misc): Special stats like Holiness, Wickedness, Evolve
Each category has a header with an icon (⚔️ 🛡️ 👟 🎒 ✨) and all stats within that category are displayed in the matching color.
Important Notes
- XP Multiplier Cap: The game appears to cap XP multiplier around 10x - this is a game limitation
- Player Stats Only: This mod only shows and modifies player stats (45 total), excluding enemy/difficulty modifiers
- Proper Reset: The reset function now properly removes ALL accumulated changes, not just the last one
- Stat Tracking: Each modification is tracked cumulatively, so you can click +10% multiple times and reset will remove the total
Available Stats (45 player stats)
Offensive
- DamageMultiplier, AttackSpeed, CritChance, CritDamage
- Projectiles, ProjectileSpeedMultiplier, ProjectileBounces
- Lifesteal, EliteDamageMultiplier, KnockbackMultiplier
- FireDamage, IceDamage, LightningDamage, PoisonDamageMultiplier
- BurnChance, FreezeChance
Defensive
- MaxHealth, HealthRegen, Shield, Armor, Thorns
- Evasion, DamageReductionMultiplier, DamageCooldownMultiplier
- Overheal, HealingMultiplier
Movement
- MoveSpeedMultiplier, JumpHeight, ExtraJumps, FallDamageReduction
- Slam
Utility
- PickupRange, Luck, XpIncreaseMultiplier, GoldIncreaseMultiplier
- ChestIncreaseMultiplier, ChestPriceMultiplier, ShopPriceReduction
- SilverIncreaseMultiplier, PowerupBoostMultiplier, PowerupChance
- Holiness, Wickedness, Evolve
Size & Duration
- SizeMultiplier, DurationMultiplier, EffectDurationMultiplier
- WeaponBurstCooldown
Note: Enemy-related stats, difficulty modifiers, and unused stats are excluded from this mod to focus on player character improvements only.
How It Works
The mod uses the game's StatInventory.ChangeStat() system to apply permanent flat modifications. Each change is tracked cumulatively in a separate dictionary (modAppliedTotals), which stores the total modification amount per stat.
When you click a button multiple times (e.g., +10% three times), the mod tracks that you've added +30% total. The "Reset" button then applies a -30% modifier to bring the stat back to its original value. This ensures complete removal of all mod-applied changes while preserving stats from items, upgrades, and other game systems.
Technical Details
- Version: 1.0.2 (Added color-coding and category organization)
- Previous Updates:
- v1.0.1: Fixed reset tracking, filtered player-only stats
- v1.0.0: Initial release
- Framework: BepInEx IL2CPP
- Author: anro
- Toggle Key: F4
Building
Windows
Run BuildAndInstall.bat to build and automatically install to your Megabonk plugins folder.
Manual Build
dotnet build -c Release
The compiled DLL will be in bin/Release/net6.0/StatMod.dll
Copy StatMod.dll to <Megabonk Install>/BepInEx/plugins/
Notes
- Stats are applied permanently during the current run
- Stat changes persist until you reset them or restart the game
- The mod only tracks and resets changes it makes, not game-provided stats
- All 53 stats from the EStat enum are supported