extract constants to central module, brighter rarity colors
This commit is contained in:
1 parent
9500a2902f
commit
de63e3b098
6 files changed
+134
-109
No files matched your search
+2
-3
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user