# Adaptive Nemesis Changelog ⚔️🐉
---
## v1.0.15 (2026-08-09)
### 🧙 Fixed: Iron's Spells spell resist / power scaling going haywire (non-Nemesis mobs were getting buffed too)
- **Issue:** Every single mob in the world was getting spell resistance and spell power boosts — not just your personal Nemesis. This meant mages with multi-hit, low-cooldown, or summon-heavy builds saw their damage get chipped away mob-by-mob, even against random trash. Not fun. 😤
- **Fix — `IronsSpellsCompat.java`:**
- `maxSpellPowerMultiplier` and `maxSpellResistMultiplier` were **dead configs** — the code never actually read them. Now `applyMobBuffs` properly clamps spell strength / casting resource multipliers to `maxSpellPowerMultiplier` (default 4.0) and spell resist multipliers to `maxSpellResistMultiplier` (default 3.0). Tweak `[enemyBonusCaps]` in `adaptive_nemesis-common.toml` and it actually does something! 🎛️
- Added **Nemesis-only check** in `applyMobBuffs` — spell resist / power / mana bonuses now only apply to mobs carrying the Nemesis NBT tag (`NemesisSystem.NEMESIS_TAG`). Regular mobs are left alone. Your fireball barrage can finally breathe against hordes. 🔥
- **New tag system — `NemesisSystem.java`:**
- New constant `NEMESIS_TAG`. `convertToNemesis` / `convertToNemesisManual` now stamp mobs with this tag on transformation.
- **Command fix — `SummonNemesisCommand.java`:**
- `/an nemesis` spawned Nemeses also get the tag now. Consistency! 🏷️
- **Registration order fix — `AdaptiveNemesisMod.java`:**
- Nemesis spawn system (`NemesisSystem`) now registers **before** the enemy scaling handler. This guarantees that when `EntityJoinLevelEvent` fires, the Nemesis conversion (tag stamping) happens **before** adaptive scaling kicks in. Previously it was registered in `commonSetup` — *after* `EnemyScalingHandler` — so Nemeses got treated as regular mobs and missed their spell bonuses. Order matters! ⏳
- **Smarter player assessment — `IronsSpellsCompat.java`:**
- `getPlayerSpellStrength` now uses **max mana** (`AttributeRegistry.MAX_MANA`) instead of **current mana** to evaluate player spell power. No more random power dips because you just cast a big spell and your mana bar dropped — scaling stays stable. 📊
---
## v1.0.15 (2026-08-09)
### 🖥️ Fixed: Config screen scroll animation stuttering & text flickering
- **Issue:** Scrolling through the config menu felt like a slideshow — text jittered at ~20fps and flickered badly on lower-end setups.
- **Fix — `AdaptiveNemesisConfigScreen.java`:**
- Replaced janky tick-by-tick scroll jumps with proper `Mth.lerp(partialTick, lastScroll, currentScroll)` interpolation. Smooth 60fps buttery scrolling. 🧈
- `tick()` now records last-tick scroll position and snaps to target when close, killing animation tail wobble.
- Cached translated `Component` objects for all 130+ config entries — no more creating translation objects every single frame. Less CPU burn, more frames. ⚡
- Scrollbar thumb position now syncs to the interpolated scroll value instead of raw tick position. The whole scroll experience just *flows* now. 🌊
---
*May your Nemesis fear your spells — and your config screen scroll smoothly.* 🏆✨
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }