Usurper Reborn v0.25.2 - Boss System Fix
Overview
This release fixes a critical bug where defeating mini-bosses, champions, or elite monsters could incorrectly invalidate the actual floor boss encounter. The root cause has been addressed and the mini-boss/champion system has been properly differentiated from the floor boss system.
Critical Bug Fixes
Boss Floor Clearing Bug (Root Cause Fixed)
The Problem: Defeating monsters with IsBoss=true outside the boss room (guardians, mimics, spirits, group leaders) could incorrectly mark the boss room as cleared, preventing the actual boss fight.
The Fix:
IsBoss=trueis now exclusively reserved for actual floor bosses in boss rooms- All elite encounters now use
IsMiniBoss=trueinstead:- Portal Guardians
- Mimics (chest traps)
- Vengeful Spirits (shrine desecration)
- Bandit/Monster group leaders
- Terrain encounter leaders
- Monsters with "Boss" or "Lord" in their name
- Added defense-in-depth protection for boss rooms during floor restoration
New Features
Mini-Boss (Champion) Bonuses
Champions/mini-bosses now receive proper combat bonuses to differentiate them from regular monsters:
| Stat | Normal | Mini-Boss | Floor Boss |
|---|---|---|---|
| Attack | 100% | +15% | +30% |
| Defense | 100% | +10% | +20% |
| XP Reward | 1x | 1.5x | 3x |
| Gold Reward | 1x | 1.5x | 3x |
Champions are displayed with [CHAMPION] tag, floor bosses with [BOSS] tag.
Quality Improvements
New Unit Tests
Added 21 comprehensive tests for the boss/mini-boss system:
- Flag behavior (IsBoss vs IsMiniBoss exclusivity)
- Attack/defense power bonuses
- XP/gold reward multipliers
- Display info tags
- Name-based detection (monsters with "Boss"/"Lord" → IsMiniBoss)
Total test count: 265 (up from 244)
Technical Details
Files Changed
| File | Changes |
|---|---|
DungeonLocation.cs
| Changed 5 locations from IsBoss=true to IsMiniBoss=true
|
Monster.cs
| Added IsMiniBoss bonuses to GetAttackPower(), GetDefensePower(), GetExperienceReward(), GetGoldReward(). Fixed name-based detection.
|
MonsterTests.cs
| NEW - 21 unit tests for boss/mini-boss system |
Behavior Changes
- Guardians, mimics, spirits, and leaders are now tagged as
[CHAMPION]instead of[BOSS] - Champions now give 1.5x XP and gold (previously gave normal rewards)
- Champions now hit 15% harder and have 10% more defense
- Floor bosses in boss rooms are unaffected (still give 3x rewards, +30%/+20% combat bonuses)
Upgrade Notes
- Save Compatibility: Fully compatible with v0.25.0 and v0.25.1 saves
- No action required: The fix is automatic (just upgrade your game version)