extract constants to central module, brighter rarity colors

This commit is contained in:
esef committed 2026-07-11 19:24:26 +03:00
1 parent 9500a2902f
commit de63e3b098
6 files changed
+134 -109

No files matched your search

+2 -3
View File
@@ -5,13 +5,12 @@ import sqlite3
import logging
from pathlib import Path
from .constants import ELIGMA_YIELD
log = logging.getLogger(__name__)
DB_PATH = Path("data/ba_gacha.db")
# Eligma earned per duplicate by rarity
ELIGMA_YIELD = {1: 1, 2: 10, 3: 50}
def _connect() -> sqlite3.Connection:
"""Open a connection with WAL mode for concurrent reads."""