From c4b25d9e941c5b4658c7976f1d142d51ea998b00 Mon Sep 17 00:00:00 2001 From: peti446 Date: Sat, 8 Mar 2025 19:32:55 +0000 Subject: [PATCH 1/5] feat: Added icon and category to toc --- SwitchSwitch.toc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SwitchSwitch.toc b/SwitchSwitch.toc index 89ca789..5c65440 100644 --- a/SwitchSwitch.toc +++ b/SwitchSwitch.toc @@ -1,10 +1,12 @@ -## Interface: 110002 +## Interface: 110100 ## Title: SwitchSwitch ## Author: Geloch (Sanguino - EU Horde) ## Version: @project-version@ ## Notes: Allows you to creater talents profiles and switch between them quickly and automaticly. ## LoadOnDemand: 0 ## SavedVariables: SwitchSwitchDB +## IconTexture: Interface\Icons\INV_Artifact_Tome02 +## Category: Talents ## X-Curse-Project-ID: 299998 ## X-WoWI-ID: 26115 From 9063745df3dcd96138ff0e12e312b439f3650531 Mon Sep 17 00:00:00 2001 From: peti446 Date: Sat, 8 Mar 2025 19:33:49 +0000 Subject: [PATCH 2/5] feat: TWW Season 2 data --- InstancesData.lua | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/InstancesData.lua b/InstancesData.lua index a248663..02fe677 100644 --- a/InstancesData.lua +++ b/InstancesData.lua @@ -38,6 +38,16 @@ SwitchSwitch.DefaultMythicPlusSeason = 12 -- Format is: JournalID -> InstancID SwitchSwitch.MythicPlusDungeons = { + [14] = { + [1272] = 2661, -- Cinderbrew Meadery + [1210] = 2651, -- Darkflame Cleft + [1267] = 2649, -- Priory of the Sacred Flame + [1268] = 2648, -- The Rookery + [1298] = 2773, -- Operation: Floodgate + [1187] = 2293, -- Theather of Pain + [1178] = 2097, -- Operation: Mechagon + [1012] = 1594, -- The Motherlode!! + }, -- Season 1 TWW [13] = { [1271] = 2660, -- Ara-Jara @@ -76,6 +86,13 @@ SwitchSwitch.MythicPlusDungeons = { -- To retrive then affix info C_ChallengeMode.GetAffixInfo(ID) -- Also normaly good to check is wowhead they tend to have a table of affixes that gets updated. For Season 3 https://www.wowhead.com/guides/season-3-shadowlands-mythic-plus-updates-item-levels SwitchSwitch.MythicPlusAffixes = { + -- Season 2 TWW + [14] = { + [1] = 148; + [2] = 158; + [3] = 162; + [4] = 160; + }, -- Season 1 TWW [13] = { [1] = 148; @@ -227,6 +244,68 @@ SwitchSwitch.InstancesBossData["The War Within"] = { }, } }, + [1296] = { -- Liberation of Undermine + ["instanceID"] = 2769, + ["difficulties"] = {14,15,16}, + ["bossData"] = { + [225821] = { -- Vexie and the Geargrinders + ["requieres"] = {}, + ["zoneID"] = 2406, + ["jurnalIndex"] = 1, + ["encounterID"] = 2639, + ["otherBossID"] = {}, + }, + [229181] = { -- Cauldron of Carnage + ["requieres"] = {}, + ["zoneID"] = 2406, + ["jurnalIndex"] = 2, + ["encounterID"] = 2640, + ["otherBossID"] = {}, + }, + [228652] = { -- Rik Reverb + ["requieres"] = {}, + ["zoneID"] = 2406, + ["jurnalIndex"] = 3, + ["encounterID"] = 2641, + ["otherBossID"] = {}, + }, + [230322] = { -- Stix Bunkjunker + ["requieres"] = {}, + ["zoneID"] = 2406, + ["jurnalIndex"] = 4, + ["encounterID"] = 2642, + ["otherBossID"] = {}, + }, + [230583] = { -- Sprocketmonger Lockenstock + ["requieres"] = {}, + ["zoneID"] = 2406, + ["jurnalIndex"] = 5, + ["encounterID"] = 2653, + ["otherBossID"] = {}, + }, + [228458] = { -- The One-Armed Bandit + ["requieres"] = {}, + ["zoneID"] = 2408, + ["jurnalIndex"] = 6, + ["encounterID"] = 2644, + ["otherBossID"] = {}, + }, + [229953] = { -- Mug'Zee, Heads of Security + ["requieres"] = {}, + ["zoneID"] = 2411, + ["jurnalIndex"] = 7, + ["encounterID"] = 2645, + ["otherBossID"] = {}, + }, + [241526] = { -- Chrome King Gallywix + ["requieres"] = {}, + ["zoneID"] = 2409, + ["jurnalIndex"] = 8, + ["encounterID"] = 2646, + ["otherBossID"] = {}, + }, + } + } }, [2] = { [1271] = { @@ -261,6 +340,10 @@ SwitchSwitch.InstancesBossData["The War Within"] = { ["instanceID"] = 2661, ["difficulties"] = {1,2,23}, }, -- Cinderbrew Meadery + [1298] = { + ["instanceID"] = 2773, + ["difficulties"] = {1,2,23}, + }, -- Operation: Floodgate }, [208] = {} } From 7478e304ddf40c887a9047e95a73ed511c377c20 Mon Sep 17 00:00:00 2001 From: peti446 Date: Sat, 8 Mar 2025 19:39:01 +0000 Subject: [PATCH 3/5] fix: Use new version of upload artifact --- .github/workflows/lualint.yml | 2 +- .pkgmeta | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lualint.yml b/.github/workflows/lualint.yml index e39b2d3..c55fab2 100644 --- a/.github/workflows/lualint.yml +++ b/.github/workflows/lualint.yml @@ -23,7 +23,7 @@ jobs: with: args: -d -z - name: Upload alpha package to artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: SwitchSwitch.zip path: | diff --git a/.pkgmeta b/.pkgmeta index b29b344..1b63989 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -23,4 +23,5 @@ enable-nolib-creation: no ignore: - README.md - - CurseForge_UpldateTranslations.sh \ No newline at end of file + - CurseForge_UpldateTranslations.sh + - release.sh \ No newline at end of file From dec40b2e58cd4d795d4b325133c4f1f86c81dcbe Mon Sep 17 00:00:00 2001 From: peti446 Date: Sat, 8 Mar 2025 19:42:11 +0000 Subject: [PATCH 4/5] fix: Added proper path to upload alpha package --- .github/workflows/lualint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lualint.yml b/.github/workflows/lualint.yml index c55fab2..3238d0c 100644 --- a/.github/workflows/lualint.yml +++ b/.github/workflows/lualint.yml @@ -27,7 +27,7 @@ jobs: with: name: SwitchSwitch.zip path: | - .release/* + SwitchSwitch/.release/* - name: Remove old artifacts uses: c-hive/gha-remove-artifacts@v1 with: From 00518d230dc5a812fcd29749ee6b59b5b8dd4d35 Mon Sep 17 00:00:00 2001 From: peti446 Date: Sat, 8 Mar 2025 19:46:10 +0000 Subject: [PATCH 5/5] chore: Reset to pre-cange path --- .github/workflows/lualint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lualint.yml b/.github/workflows/lualint.yml index 3238d0c..c55fab2 100644 --- a/.github/workflows/lualint.yml +++ b/.github/workflows/lualint.yml @@ -27,7 +27,7 @@ jobs: with: name: SwitchSwitch.zip path: | - SwitchSwitch/.release/* + .release/* - name: Remove old artifacts uses: c-hive/gha-remove-artifacts@v1 with: