Files
SVSimServer/SVSim.Database/Models/Config/BattleXpConfig.cs
gamer147 94ed6734c7 tune(battle-xp): raise defaults to XpPerWin=200 / XpPerLoss=50
Doubles the shipped defaults across all modes without touching per-mode
overrides. Curve interaction against classexp.csv (L1=50, L2=150):
- Win (200 XP): crosses both L1 + L2 → land at L3, Exp=0
- Loss (50 XP): exactly meets L1 → land at L2, Exp=0

Updates every affected test assertion (Practice, Rank, Free, TK2,
Colosseum, Story) for the new level/exp math.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-07-04 09:34:01 -04:00

29 lines
1.1 KiB
C#

namespace SVSim.Database.Models.Config;
/// <summary>
/// Class XP awarded on battle finish. <see cref="XpPerWin"/> / <see cref="XpPerLoss"/>
/// are the global defaults; each per-mode nullable slot overrides them for that mode
/// when set. Story is clear-only (no loss variant) — <see cref="StoryXpPerClear"/>
/// falls back to <see cref="XpPerWin"/> when null.
/// </summary>
[ConfigSection("BattleXp")]
public class BattleXpConfig
{
public int XpPerWin { get; set; } = 200;
public int XpPerLoss { get; set; } = 50;
public int? PracticeXpPerWin { get; set; }
public int? PracticeXpPerLoss { get; set; }
public int? RankXpPerWin { get; set; }
public int? RankXpPerLoss { get; set; }
public int? FreeXpPerWin { get; set; }
public int? FreeXpPerLoss { get; set; }
public int? ArenaTwoPickXpPerWin { get; set; }
public int? ArenaTwoPickXpPerLoss { get; set; }
public int? ColosseumXpPerWin { get; set; }
public int? ColosseumXpPerLoss { get; set; }
public int? StoryXpPerClear { get; set; }
public static BattleXpConfig ShippedDefaults() => new();
}