v0.1.5.7 Patch Notes
New Feature: Card Packs
- Added a new Packs tab in the shop with four tiers: Low, Mid, High, and Special
- Opening a pack grants a temporary stat buff (Crit, Speed, Heal, Gold, DR) that lasts between 1-2 hours depending on tier
- Higher tier packs have a chance to spawn an elite unit that fights alongside your army
- Elite units from packs are on a 3-wave contract: they respawn at the start of each wave for 3 waves, then expire
- Special packs cost Ascension Coins and guarantee an elite unit with the strongest buffs
- The Packs tab is visible before your first ascension but locked until you ascend once
- Pack opening features a 3-phase animation: shake, split, and explode with tier-colored particles
Leaderboard Improvements
- Highest Wave and High Score now display in their own separate bordered boxes
- Each section scrolls independently. Scrolling the Wave box no longer moves the Score list
- Entries are properly clipped to stay inside their section box and no longer bleed past headers
- Works on both Friends and Global tabs
UI Polish
- Added a Buff column to the stat breakdown panel showing active temporary buff percentages
- Stat panel widened to fit the new column cleanly
- Unified UI colors across panels using a consistent theme (shop, stats, packs all match now)
- Consistent font sizing across all overlay panels
Under the Hood
- Extracted shared stat bonus calculation into a helper function, removing 30+ duplicated lines across 7 spawn functions
- All unit base stats (HP, damage, size, speed, range, cooldown) now live in a single lookup table instead of scattered switch cases
- Adding or tuning a unit type only requires changing one row in the table
- Binary save format bumped to version 13 for pack contract data
- Minor build warning fixes
