From c881199bd2e55b019d7eb9d4bd39435786d45788 Mon Sep 17 00:00:00 2001 From: SGKoishi Date: Tue, 11 Feb 2025 09:00:02 +0900 Subject: [PATCH] Update pack names and premium cards --- .github/workflows/build.yml | 1 + PackHistorian/PackWatcher.cs | 2 +- PackHistorian/Resources/packs.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index af58866..41ab01a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ on: branches: [master] pull_request: types: [opened, synchronize, reopened, labeled] + workflow_dispatch: jobs: build: diff --git a/PackHistorian/PackWatcher.cs b/PackHistorian/PackWatcher.cs index ffd9905..b02de94 100644 --- a/PackHistorian/PackWatcher.cs +++ b/PackHistorian/PackWatcher.cs @@ -39,7 +39,7 @@ private void NewPack(object sender, PackEventArgs e) } catch { - isPremium = ((dynamic)Card).PremiumType == 1; + isPremium = ((dynamic)Card).PremiumType != 0; } Cards.Add(new Entity.Card(cardFromId, isPremium)); } diff --git a/PackHistorian/Resources/packs.json b/PackHistorian/Resources/packs.json index 67c9425..5ebb101 100644 --- a/PackHistorian/Resources/packs.json +++ b/PackHistorian/Resources/packs.json @@ -1292,7 +1292,7 @@ "ptBR": "Grande Treva Infinita Dourado", "plPL": "Złota Bezkresna ciemność", "ptPT": "Grande Treva Infinita Dourado", - "jaJP": "ゴールデン「暗黒宇宙ドラナイ伝」", + "jaJP": "ゴールデン・暗黒宇宙ドラナイ伝", "thTH": "The Great Dark Beyond สีทอง" }, "987": {