v0.51.2 Patch Notes - Weapon Theming, Combat Audit & Ranger Overhaul
This is a massive patch focused on making combat deeper, gear more meaningful, and fixing dozens of bugs uncovered during comprehensive class and monster audits.
Weapon Thematic Stat Bonuses
Dungeon loot weapons now receive stat bonuses that match their name and identity. Previously, a "Staff of Sorcery" had zero INT or WIS — now it grants the caster stats you'd expect.
- Caster weapons (staves, sorcery, archmage) → +INT, +WIS, +DEF
- Holy weapons (sacred, blessed, celestial) → +WIS, +CON, +DEF
- Shadow weapons (assassin, phantom, venom) → +DEX, +AGI
- Warrior weapons (berserker, titan, dragonslayer) → +STR
- Bard instruments (lute, lyre, harp, drum) → +CHA, +DEX, +DEF
- Alchemist weapons (elixir, philosopher) → +INT, +CON, +DEF
- Bow/Ranger weapons (hunter, marksman, archer) → +DEX, +AGI, +DEF
Stats scale with weapon power, so higher-level weapons get bigger bonuses. This applies to all new dungeon loot drops.
Ranger Class Overhaul
A comprehensive audit of the Ranger class uncovered critical bugs and missing stats across the board.
Ranged Attack [V] Fix (Critical)
The ranged attack damage formula was completely broken — it used DEX/2 + a d6 roll and ignored your weapon power, two-handed bonus, and proficiency entirely. A level 50 Ranger with a legendary bow dealt the same ~30 ranged damage as a level 5 Ranger with a starter bow.
Ranged attacks now use a proper formula matching melee and Smite damage, factoring in weapon power, the two-handed bonus, and monster defence reduction. Rangers should see a massive damage increase on ranged attacks.
Ranger Gear Improvements
- Ranger/Scout/Elven armor now grants +Defence (was the only armor category with zero defence)
- Shop bows now grant +Defence alongside DEX, AGI, and Crit Chance
- 3 new Ranger-exclusive high-level bows: Eagle Eye Bow, Sniper's Longbow, Windstrike Bow
- 5 new Ranger-themed accessories: Ring of the Hunter, Marksman's Band, Windstrike Ring, Eagle Eye Pendant, Ranger's Talisman
Monster Combat Audit - 12 Bug Fixes
A deep audit of the monster combat system uncovered and fixed 12 bugs:
73 Missing Monster Abilities
Monster families defined 78 unique special abilities (Rage, Frenzy, WebTrap, DragonFear, Hellfire, etc.), but only 5 actually worked. The other 73 silently failed, meaning Orc Warlords never cleaved, Liches never cast spells, Dragons never used DragonFear, and Spiders never used WebTrap. All 73 abilities are now fully implemented with appropriate damage, status effects, healing, and evasion behaviors.
Other Combat Fixes
- Fatigue XP penalty was inverted — Exhausted players received bonus XP instead of a penalty (used += instead of -=)
- Boss debuffs expired 2-3x too fast — Status effects ticked once per boss attack instead of once per round
- Poison stun had no duration — NightshadeExtract and WidowsKiss stuns expired instantly
- Stunned monsters still showed "attacks!" — Incomplete incapacitation check missed several status types
- Reflection/Thorns kills gave no XP — Monsters killed by damage reflection weren't tracked
- Companions could be one-shot — Missing per-hit damage cap (75% MaxHP normal, 85% boss)
- Companion Defend did nothing — Had the aggro bonus but no actual damage reduction
- Companion HP could go negative — Two ability damage paths lacked HP clamping
Caster Defence Gear Fix
Caster-themed equipment across all gear sources (dungeon loot, shops, static items) gave zero Defence — only INT, WIS, and Mana. Casters like Magicians had virtually no way to improve survivability through gear.
Defence is now added as a secondary stat to all caster gear at roughly 60% of warrior values, preserving the glass cannon identity while giving casters a survivability path. This affects:
- Dungeon loot armor and weapons (cloth, magic, holy, bard, alchemist themed)
- Shop staves, instruments, cloth armor, and caster accessories
- 25 static equipment items updated with Defence bonuses
Companion Improvements
- Class-appropriate weapons — Companions now start with proper weapons for their class. Vex gets daggers (can use Backstab), Melodia gets instruments (can use songs), Mira gets maces
- Potion persistence — Companion healing and mana potions no longer vanish on save/load
- Personal quest tracking — Quest success state now properly persists through saves
- Weapon requirement check — Companion AI no longer attempts abilities they lack the weapon for
Team Member Curse Removal
The Magic Shop's Curse Removal now scans your companions and NPC teammates for cursed equipment — not just your own inventory. Previously, cursed gear on companions was permanent with no way to remove it.
NPC & Party Fixes
- NPC teammates now have proper INT and CON stats (were missing from all 8 archetypes)
- NPC teammate stat sync now covers all 11 stats and runs after every combat
- Fixed duplicate teammates appearing on the dungeon party management screen
- Duplicate display names prevented in online mode (SQL uniqueness check)
Dungeon Tutorial
First-time adventurers entering Floor 1 are offered a guided 8-screen tutorial covering map navigation, combat actions, potions, teammates, events, features, and rest mechanics. Skippable and only appears once.
Auction House Fix (Online)
The auction house was perpetually empty because NPCs bought items faster than they listed them. Fixed with:
- NPCs now spawn with starting market inventory
- NPC dungeon loot rate increased (20% → 35%)
- NPC buying rate reduced (50% → 25%) with minimum listing floor
Bank Fixes
- Bank loans, interest, and robbery attempts now persist through save/load (were silently vanishing)
- Dead NPCs no longer appear as bank transfer recipients
- Bank robbery safe contents can no longer go negative
Online Player Visibility Fix
MUD client connections could silently disappear from the website "who's online" list. The heartbeat system now self-heals by detecting and re-registering missing player rows.
Magic Shop Menu Cleanup
Removed leftover [F] Forge and [D] Dungeon Reset options from compact/BBS and screen reader menus.
