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:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user