Regeln nach Recherche korrigiert: Schadensformel, Odds L8/L9, Start-Level 2, Streak ab 2, Verkaufsregel

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
team3
2026-07-23 06:25:23 +02:00
parent 76acd026ec
commit c0cd303eb0
7 changed files with 31 additions and 23 deletions

View File

@@ -78,8 +78,8 @@ def test_streak_gold(cfg):
def test_apply_xp_levels_up(cfg):
level, xp = economy.apply_xp(1, 0, 4, cfg)
assert level == 3 # 1->2 costs 2, 2->3 costs 2
level, xp = economy.apply_xp(2, 0, 8, cfg)
assert level == 4 # 2->3 kostet 2, 3->4 kostet 6
assert xp == 0
level, _ = economy.apply_xp(9, 0, 1000, cfg)
assert level == cfg["xp"]["max_level"]