From 437de34f2ce3c534bec67b248307424bd51f91ff Mon Sep 17 00:00:00 2001 From: Lofuuzi <177768000+Lofuuzi@users.noreply.github.com> Date: Wed, 10 Dec 2025 03:24:24 +0800 Subject: [PATCH 1/3] Update zhTW.json --- HsMod/Languages/zhTW.json | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/HsMod/Languages/zhTW.json b/HsMod/Languages/zhTW.json index 07ad35ce..494cd252 100644 --- a/HsMod/Languages/zhTW.json +++ b/HsMod/Languages/zhTW.json @@ -1,4 +1,4 @@ -{ +{ "hsmod.declaration": "[開源軟體] HsMod僅於GitHub發布,請慎防受騙。\nhttps://github.com/Pik-4/HsMod", "isPluginEnable.name": "HsMod狀態", "isPluginEnable.label": "全域", @@ -119,6 +119,18 @@ "shieldMainBoxLuckyDraw.name": "屏蔽主介面樂透活動", "shieldMainBoxLuckyDraw.label": "爐石", "shieldMainBoxLuckyDraw.description": "屏蔽主介面樂透活動,預設false", + "signatureFirst.name": "傳說造型優先", + "signatureFirst.label": "爐石戰記", + "signatureFirst.description": "傳說造型的品質高於鑽石,預設為關閉", + "previewCardPlaySounds.name": "卡牌預覽播放音效", + "previewCardPlaySounds.label": "爐石戰記", + "previewCardPlaySounds.description": "在收藏中以右鍵預覽卡牌時,播放其登場音效,預設為開啟", + "checkCollDeckValidForMode.name": "檢查牌組在遊戲模式中是否有效", + "checkCollDeckValidForMode.label": "最佳化", + "checkCollDeckValidForMode.description": "避免在開放模式中意外使用標準模式牌組。在牌組選擇介面中,如果標準牌組被停用且正在開放模式中時給出提示,預設為開啟", + "oldSignatureSave.name": "新繪外觀的舊版傳說卡牌", + "oldSignatureSave.label": "爐石戰記", + "oldSignatureSave.description": "預設為關閉,不會修改。啟用後,所有舊的傳說卡牌將變為新版本。", "maxCardState.description": "強制卡牌頂級外觀(目前優先順序:鑽石、珍藏、金卡、普通)", "isAutoRecvMercenaryRewardEnable.name": "自動領獎", "isAutoRecvMercenaryRewardEnable.label": "傭兵", @@ -141,6 +153,9 @@ "isBgsSeasonTicketUnlock.name": "旅店通票解鎖", "isBgsSeasonTicketUnlock.label": "旅店", "isBgsSeasonTicketUnlock.description": "是否解鎖旅店通票(允許4選1, 而不是2選1)。", + "isPatchAssetLoader.name": "停用特殊卡牌外觀", + "isPatchAssetLoader.label": "造型", + "isPatchAssetLoader.description": "當選擇非英語的語言時,停用特殊卡牌外觀的資源載入。", "skinCoin.name": "幸運幣", "skinCoin.label": "外觀", "skinCoin.description": "幸運幣的偏好ID,-1表示不做修改(遊戲內模擬斷線可以即時更新)", @@ -351,5 +366,8 @@ "CardState.Disabled": "禁用特效", "isAutoRedundantNDE.name": "自動置換卡牌", "isAutoRedundantNDE.label": "最佳化", - "isAutoRedundantNDE.description": "屏蔽卡牌置換視窗並且自動置換" + "isAutoRedundantNDE.description": "屏蔽卡牌置換視窗並且自動置換", + "SaveCardTextures.name": "卡牌美術圖匯出", + "SaveCardTextures.label": "爐石戰記", + "SaveCardTextures.description": "將卡牌美術圖儲存到本機,建議不要在對戰期間啟用,因為它可能會消耗效能並導致延遲。美術圖儲存路徑為:\\Hearthstone\\CardTexturesDownload" } From 2c2949dfb30c77b8ae612acdc2ad599923eaf43b Mon Sep 17 00:00:00 2001 From: Lofuuzi <177768000+Lofuuzi@users.noreply.github.com> Date: Wed, 10 Dec 2025 03:26:02 +0800 Subject: [PATCH 2/3] Add files via upload --- .github/workflows/DIYrelease.yml | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/DIYrelease.yml diff --git a/.github/workflows/DIYrelease.yml b/.github/workflows/DIYrelease.yml new file mode 100644 index 00000000..906a98ad --- /dev/null +++ b/.github/workflows/DIYrelease.yml @@ -0,0 +1,44 @@ +name: Auto Release + +on: + push: + branches: [ "bepinex5" ] + paths: + - '**PluginInfo.cs' + workflow_dispatch: + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.x + - name: Restore dependencies + run: dotnet restore --locked-mode + - name: Build HsMod + run: dotnet build --configuration Release --no-restore + - name: Generate release tag + id: tag + run: | + Get-Content ./HsMod/PluginInfo.cs | Select-String -Pattern 'public const string PLUGIN_VERSION = "(.*?)"' | ForEach-Object { ($_ -match '"(.*?)"') | Out-Null } + $version = $matches[1]; + echo "PLUGIN_VERSION=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append + - name: Create Release + id: create_release + uses: softprops/action-gh-release@v2 + env: + CURRENT_TAG: ${{ steps.tag.outputs.PLUGIN_VERSION }} + with: + tag_name: ${{ steps.tag.outputs.PLUGIN_VERSION }} + files: ./HsMod/Release/HsMod.dll + prerelease: false + make_latest: true + generate_release_notes: true + From 5b86f32c861566f11a7c77ab13d095f7b5515575 Mon Sep 17 00:00:00 2001 From: Lofuuzi <177768000+Lofuuzi@users.noreply.github.com> Date: Wed, 10 Dec 2025 03:41:28 +0800 Subject: [PATCH 3/3] Delete .github/workflows/DIYrelease.yml --- .github/workflows/DIYrelease.yml | 44 -------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .github/workflows/DIYrelease.yml diff --git a/.github/workflows/DIYrelease.yml b/.github/workflows/DIYrelease.yml deleted file mode 100644 index 906a98ad..00000000 --- a/.github/workflows/DIYrelease.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Auto Release - -on: - push: - branches: [ "bepinex5" ] - paths: - - '**PluginInfo.cs' - workflow_dispatch: - -jobs: - build: - - runs-on: windows-latest - - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.x - - name: Restore dependencies - run: dotnet restore --locked-mode - - name: Build HsMod - run: dotnet build --configuration Release --no-restore - - name: Generate release tag - id: tag - run: | - Get-Content ./HsMod/PluginInfo.cs | Select-String -Pattern 'public const string PLUGIN_VERSION = "(.*?)"' | ForEach-Object { ($_ -match '"(.*?)"') | Out-Null } - $version = $matches[1]; - echo "PLUGIN_VERSION=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Append - - name: Create Release - id: create_release - uses: softprops/action-gh-release@v2 - env: - CURRENT_TAG: ${{ steps.tag.outputs.PLUGIN_VERSION }} - with: - tag_name: ${{ steps.tag.outputs.PLUGIN_VERSION }} - files: ./HsMod/Release/HsMod.dll - prerelease: false - make_latest: true - generate_release_notes: true -