[Eva] Hard в пузырях: очки 110 → 150

This commit is contained in:
2026-11-02 09:34:04 +00:00
parent bbca26826d
commit 1a8d85a51d
+2 -2
View File
@@ -370,14 +370,14 @@ async def complete_bubble_level(request: Request):
list_opened = (progress["current_list_opened"] if progress else 0) or 0 list_opened = (progress["current_list_opened"] if progress else 0) or 0
# 🔧 НОВОЕ (14.10.2026): очки по формуле филворда. # 🔧 НОВОЕ (14.10.2026): очки по формуле филворда.
# Hard — фикс 110. Easy/Medium — 100 − 20×hints − 20×list + bonus. # Hard — фикс 150. Easy/Medium — 100 − 20×hints − 20×list + bonus.
if difficulty == "hard": if difficulty == "hard":
if hints_used > 0 or list_opened: if hints_used > 0 or list_opened:
raise HTTPException( raise HTTPException(
status_code=400, status_code=400,
detail="Hints and word list are disabled on Hard difficulty" detail="Hints and word list are disabled on Hard difficulty"
) )
points = 110 points = 150
else: else:
bonus = 10 if hints_used == 0 else 0 bonus = 10 if hints_used == 0 else 0
penalty_hints = 20 * hints_used penalty_hints = 20 * hints_used