XP-System korrigiert: Level 2 gratis nach erster Welle, 1-1-Carousel-XP banken
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,10 +26,10 @@ def validate(c: dict) -> None:
|
||||
if len(c["pool"]["sizes"]) != 5:
|
||||
raise ValueError("pool sizes must have 5 cost tiers")
|
||||
xp = c["xp"]
|
||||
start = xp.get("start_level", 1)
|
||||
if len(xp["to_next"]) != xp["max_level"] - start:
|
||||
# Level 1 -> 2 ist gratis (erste Welle); to_next deckt 2->3 bis (max-1)->max.
|
||||
if len(xp["to_next"]) != xp["max_level"] - 2:
|
||||
raise ValueError(
|
||||
f"xp.to_next needs {xp['max_level'] - start} entries, has {len(xp['to_next'])}"
|
||||
f"xp.to_next needs {xp['max_level'] - 2} entries, has {len(xp['to_next'])}"
|
||||
)
|
||||
if len(c["shop"]["odds"]) != xp["max_level"]:
|
||||
raise ValueError("shop odds must have one row per level")
|
||||
|
||||
@@ -29,10 +29,10 @@ copies_for_2star = 3
|
||||
copies_for_3star = 9
|
||||
|
||||
[xp]
|
||||
# Start auf Level 1; die 2 Passiv-XP nach 1-2 heben auf Level 2.
|
||||
# to_next: Index 0 = Level 1 -> 2.
|
||||
# Start auf Level 1. Level 2 kommt GRATIS nach der ersten PvE-Welle (1-2),
|
||||
# XP banken solange. to_next: Index 0 = Level 2 -> 3.
|
||||
start_level = 1
|
||||
to_next = [2, 2, 6, 10, 20, 36, 60, 68, 68]
|
||||
to_next = [2, 6, 10, 20, 36, 60, 68, 68]
|
||||
passive_per_round = 2
|
||||
buy_amount = 4
|
||||
buy_cost = 4
|
||||
|
||||
Reference in New Issue
Block a user