gamer147
81771bb0a0
feat(battle-xp): IBattleXpService with per-mode overrides and auto level-up
- IBattleXpService.GrantAsync mutates viewer.Classes in place; caller SaveChanges
- Resolves win/loss amount from per-mode override or global XpPerWin/XpPerLoss
- Story mode ignores isWin, uses StoryXpPerClear ?? XpPerWin
- Level-up loop consults curve[row.Level].NecessaryExp; carries overflow
- Saturates at max curve level (excess piles in Exp)
- Unknown classId → no-op returning (0, 0, 1), logs Warning
- 10 unit tests (Moq-backed curve stub); DI registered next to InventoryService
- GameConfigurationJsonbTests baseline updated (19 sections)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-04 08:51:43 -04:00
..
2026-06-13 12:32:56 -04:00
2026-06-27 15:14:06 -04:00
2026-06-09 15:33:04 -04:00
2026-05-31 10:46:59 -04:00
2026-06-13 12:49:57 -04:00
2026-06-13 12:49:57 -04:00
2026-06-13 12:49:57 -04:00
2026-05-31 16:51:03 -04:00
2026-06-13 12:49:57 -04:00
2026-06-10 07:43:50 -04:00
2026-06-03 07:50:49 -04:00
2026-07-04 08:51:43 -04:00
2026-05-28 09:11:21 -04:00
2026-06-03 09:06:26 -04:00
2026-05-29 13:25:47 -04:00
2026-06-09 22:04:04 -04:00
2026-06-09 08:48:16 -04:00
2026-05-24 21:13:15 -04:00
2026-06-09 20:39:10 -04:00
2026-06-08 18:53:33 -04:00
2026-06-10 07:38:37 -04:00
2026-05-27 10:21:51 -04:00
2026-06-13 16:15:21 -04:00
2026-06-13 11:25:40 -04:00
2026-06-03 07:50:49 -04:00
2026-06-27 19:35:08 -04:00
2026-05-25 12:03:47 -04:00
2026-06-10 10:36:51 -04:00
2026-05-28 21:13:47 -04:00
2026-05-24 00:17:28 -04:00
2026-05-27 10:45:31 -04:00
2026-05-30 22:26:45 -04:00