new gacha animation added
This commit is contained in:
1 parent
7367eb2cc4
commit
4d1949bdc2
2 files changed
+4
-3
No files matched your search
@@ -8,6 +8,7 @@ BUNDLED_DB = Path(__file__).parent / "ba_students.json"
|
||||
BANNER_FILE = Path("data/ba_banner_state.json")
|
||||
ASSETS_DIR = Path(__file__).parent / "assets"
|
||||
BG_PATH = ASSETS_DIR / "gacha_bg.png"
|
||||
GACHA_ANIM_PATH = ASSETS_DIR / "Arona_Blue_Gacha_Animation.gif"
|
||||
|
||||
# ── APIs ────────────────────────────────────────────────────────────────────
|
||||
BANNER_API = "https://api.ennead.cc/buruaka/banner"
|
||||
|
||||
@@ -19,7 +19,7 @@ from .data import (
|
||||
get_rates_for_banner,
|
||||
)
|
||||
from .gacha_renderer import render_pull
|
||||
from .constants import SPARK_TARGET, BANNER_FILE, DEFAULT_RATES, PULL10_RATES
|
||||
from .constants import SPARK_TARGET, BANNER_FILE, DEFAULT_RATES, PULL10_RATES, GACHA_ANIM_PATH
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@@ -258,8 +258,8 @@ class BlueArchiveGacha(commands.Cog):
|
||||
banner_name = f"{gtype} — {rateups}"
|
||||
rates = get_rates_for_banner(banner)
|
||||
|
||||
# "Opening envelope" teaser
|
||||
teaser = await ctx.reply("Opening recruitment envelope" + ("s..." if count > 1 else "..."))
|
||||
# "Opening envelope" teaser — send animation GIF
|
||||
teaser = await ctx.reply(file=discord.File(str(GACHA_ANIM_PATH)))
|
||||
|
||||
# Build the banner-specific character pool
|
||||
if banner_id and banner_id != "regular" and banner:
|
||||
|
||||
Reference in new issue
Block a user