From 6965adf1fa813b09795b8505026fa2fae34afe3e Mon Sep 17 00:00:00 2001 From: snowflame Date: Tue, 28 May 2024 11:57:49 -0700 Subject: [PATCH] Attempt changelog fix --- .github/workflows/build_dev.yml | 6 +- .../data-cata.lua | 261 +++++++++--------- generate_changelog.sh | 0 3 files changed, 134 insertions(+), 133 deletions(-) mode change 100644 => 100755 generate_changelog.sh diff --git a/.github/workflows/build_dev.yml b/.github/workflows/build_dev.yml index 8d2732aa..00816280 100644 --- a/.github/workflows/build_dev.yml +++ b/.github/workflows/build_dev.yml @@ -10,9 +10,6 @@ jobs: runs-on: ubuntu-latest environment: Build - env: - GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} - steps: - name: Clone project uses: actions/checkout@v4 @@ -34,6 +31,9 @@ jobs: env: CF_API_KEY: ${{ secrets.CF_API_KEY }} + - name: Generate Changelog + run: ./generate_changelog.sh + - name: Package (don't release) uses: BigWigsMods/packager@master env: diff --git a/AtlasLootClassic_DungeonsAndRaids/data-cata.lua b/AtlasLootClassic_DungeonsAndRaids/data-cata.lua index d41b14e4..b7f19885 100644 --- a/AtlasLootClassic_DungeonsAndRaids/data-cata.lua +++ b/AtlasLootClassic_DungeonsAndRaids/data-cata.lua @@ -55,136 +55,7 @@ local PURPLE = "|cff9900ff%s|r" -- format local BONUS_LOOT_SPLIT = "%s - %s" ---Achievements -local CATA_DUNGEON_HERO_AC_TABLE = { --[Cataclysm Dungeon Hero] - name = select(2, GetAchievementInfo(4844)), - TableType = AC_ITTYPE, - ExtraList = true, - IgnoreAsSource = true, - CoinTexture = "Achievement", - [HEROIC_DIFF] = { - { 1, 4844 }, - { 2, 5060 }, { 17, 5061 }, - { 3, 5063 }, { 18, 5064 }, - { 4, 5062 }, { 19, 5065 }, - { 5, 5066 }, { 20, 5083 }, - { 6, 5093 } - }, -} - -local CATA_GLORY_OF_THE_HERO_AC_TABLE = { --[Glory of the Cataclysm Hero] - AchievementID = 4845, - TableType = AC_ITTYPE, - ExtraList = true, - IgnoreAsSource = true, - CoinTexture = "Achievement", - [HEROIC_DIFF] = { - { 1, 4845 }, - { 2, 4844 }, { 17, 5281 }, - { 3, 5282 }, { 18, 5283 }, - { 4, 5284 }, { 19, 5285 }, - { 5, 5286 }, { 20, 5287 }, - { 6, 5288 }, { 21, 5289 }, - { 7, 5290 }, { 22, 5291 }, - { 8, 5292 }, { 23, 5293 }, - { 9, 5294 }, { 24, 5295 }, - { 10, 5296 }, { 25, 5297 }, - { 11, 5366 }, { 26, 5367 }, - { 12, 5368 }, { 27, 5369 }, - { 13, 5370 }, { 28, 5371 }, - { 14, 5503 }, { 29, 5504 }, - { 15, 5505 }, { 30, 5298 }, - }, -} - -local CATA_DEFENDER_AC_TABLE = { --[Defender of a Shattered World] - AchievementID = 5506, - TableType = AC_ITTYPE, - ExtraList = true, - IgnoreAsSource = true, - CoinTexture = "Achievement", - [NORMAL_DIFF] = { - { 1, 5506 }, - { 2, 4842 }, { 17, 4851 }, - { 3, 4850 }, - }, - [HEROIC_DIFF] = { - { 1, 5506 }, - { 2, 5060 }, { 17, 5061 }, - { 3, 5063 }, { 18, 5064 }, - { 4, 5062 }, { 19, 5065 }, - { 5, 5066 }, { 20, 5083 }, - { 6, 5093 } - } -} - -local CATA_RAID1_AC_TABLE = { --[Glory of the Cataclysm Raider] - AchievementID = 4853, - TableType = AC_ITTYPE, - ExtraList = true, - IgnoreAsSource = true, - CoinTexture = "Achievement", - [NORMAL_DIFF] = { - { 1, 4853 }, - { 2, 5306 }, { 17, 5307 }, - { 3, 5308 }, { 18, 5309 }, - { 4, 5310 }, { 19, 4849 }, - { 5, 5300 }, { 20, 4852 }, - { 6, 5311 }, { 21, 5312 }, - { 7, 5304 }, { 22, 5305 }, - }, - [HEROIC_DIFF] = { - { 1, 4853 }, - { 2, 5094 }, { 17, 5107 }, - { 3, 5108 }, { 18, 5109 }, - { 4, 5115 }, { 19, 5116 }, - { 5, 5118 }, { 20, 5117 }, - { 6, 5119 }, { 21, 5120 }, - { 7, 5112 }, { 22, 5123 }, - }, -} - -local CATA_RAID2_AC_TABLE = { --[Glory of the Firelands Raider] - AchievementID = 5828, - TableType = AC_ITTYPE, - ExtraList = true, - IgnoreAsSource = true, - CoinTexture = "Achievement", - [NORMAL_DIFF] = { - { 1, 5828 }, - { 2, 5821 }, { 17, 5810 }, - { 3, 5813 }, { 18, 5829 }, - { 4, 5830 }, { 19, 5799 }, - }, - [HEROIC_DIFF] = { - { 1, 5828, "mount97560" }, - { 2, 5807 }, { 17, 5808 }, - { 3, 5806 }, { 18, 5809 }, - { 4, 5805 }, { 19, 5804 }, - }, -} - -local CATA_RAID3_AC_TABLE = { --[Glory of the Dragon Soul Raider] - AchievementID = 6169, - TableType = AC_ITTYPE, - ExtraList = true, - IgnoreAsSource = true, - CoinTexture = "Achievement", - [NORMAL_DIFF] = { - { 1, 6169 }, - { 2, 6174 }, { 17, 6129 }, - { 3, 6128 }, { 18, 6175 }, - { 4, 6084 }, { 19, 6105 }, - { 5, 6133 }, { 20, 6180 }, - }, - [HEROIC_DIFF] = { - { 1, 6169 }, - { 2, 6109 }, { 17, 6110 }, - { 3, 6111 }, { 18, 6112 }, - { 4, 6113 }, { 19, 6114 }, - }, -} - +-- tier sets local T11_SET = { name = format(AL["Tier %s Sets"], "11"), ExtraList = true, @@ -356,6 +227,136 @@ local T13_SET = { }, } +--Achievements +local CATA_DUNGEON_HERO_AC_TABLE = { --[Cataclysm Dungeon Hero] + name = select(2, GetAchievementInfo(4844)), + TableType = AC_ITTYPE, + ExtraList = true, + IgnoreAsSource = true, + CoinTexture = "Achievement", + [HEROIC_DIFF] = { + { 1, 4844 }, + { 2, 5060 }, { 17, 5061 }, + { 3, 5063 }, { 18, 5064 }, + { 4, 5062 }, { 19, 5065 }, + { 5, 5066 }, { 20, 5083 }, + { 6, 5093 } + }, +} + +local CATA_GLORY_OF_THE_HERO_AC_TABLE = { --[Glory of the Cataclysm Hero] + AchievementID = 4845, + TableType = AC_ITTYPE, + ExtraList = true, + IgnoreAsSource = true, + CoinTexture = "Achievement", + [HEROIC_DIFF] = { + { 1, 4845 }, + { 2, 4844 }, { 17, 5281 }, + { 3, 5282 }, { 18, 5283 }, + { 4, 5284 }, { 19, 5285 }, + { 5, 5286 }, { 20, 5287 }, + { 6, 5288 }, { 21, 5289 }, + { 7, 5290 }, { 22, 5291 }, + { 8, 5292 }, { 23, 5293 }, + { 9, 5294 }, { 24, 5295 }, + { 10, 5296 }, { 25, 5297 }, + { 11, 5366 }, { 26, 5367 }, + { 12, 5368 }, { 27, 5369 }, + { 13, 5370 }, { 28, 5371 }, + { 14, 5503 }, { 29, 5504 }, + { 15, 5505 }, { 30, 5298 }, + }, +} + +local CATA_DEFENDER_AC_TABLE = { --[Defender of a Shattered World] + AchievementID = 5506, + TableType = AC_ITTYPE, + ExtraList = true, + IgnoreAsSource = true, + CoinTexture = "Achievement", + [NORMAL_DIFF] = { + { 1, 5506 }, + { 2, 4842 }, { 17, 4851 }, + { 3, 4850 }, + }, + [HEROIC_DIFF] = { + { 1, 5506 }, + { 2, 5060 }, { 17, 5061 }, + { 3, 5063 }, { 18, 5064 }, + { 4, 5062 }, { 19, 5065 }, + { 5, 5066 }, { 20, 5083 }, + { 6, 5093 } + } +} + +local CATA_RAID1_AC_TABLE = { --[Glory of the Cataclysm Raider] + AchievementID = 4853, + TableType = AC_ITTYPE, + ExtraList = true, + IgnoreAsSource = true, + CoinTexture = "Achievement", + [NORMAL_DIFF] = { + { 1, 4853 }, + { 2, 5306 }, { 17, 5307 }, + { 3, 5308 }, { 18, 5309 }, + { 4, 5310 }, { 19, 4849 }, + { 5, 5300 }, { 20, 4852 }, + { 6, 5311 }, { 21, 5312 }, + { 7, 5304 }, { 22, 5305 }, + }, + [HEROIC_DIFF] = { + { 1, 4853 }, + { 2, 5094 }, { 17, 5107 }, + { 3, 5108 }, { 18, 5109 }, + { 4, 5115 }, { 19, 5116 }, + { 5, 5118 }, { 20, 5117 }, + { 6, 5119 }, { 21, 5120 }, + { 7, 5112 }, { 22, 5123 }, + }, +} + +local CATA_RAID2_AC_TABLE = { --[Glory of the Firelands Raider] + AchievementID = 5828, + TableType = AC_ITTYPE, + ExtraList = true, + IgnoreAsSource = true, + CoinTexture = "Achievement", + [NORMAL_DIFF] = { + { 1, 5828 }, + { 2, 5821 }, { 17, 5810 }, + { 3, 5813 }, { 18, 5829 }, + { 4, 5830 }, { 19, 5799 }, + }, + [HEROIC_DIFF] = { + { 1, 5828, "mount97560" }, + { 2, 5807 }, { 17, 5808 }, + { 3, 5806 }, { 18, 5809 }, + { 4, 5805 }, { 19, 5804 }, + }, +} + +local CATA_RAID3_AC_TABLE = { --[Glory of the Dragon Soul Raider] + AchievementID = 6169, + TableType = AC_ITTYPE, + ExtraList = true, + IgnoreAsSource = true, + CoinTexture = "Achievement", + [NORMAL_DIFF] = { + { 1, 6169 }, + { 2, 6174 }, { 17, 6129 }, + { 3, 6128 }, { 18, 6175 }, + { 4, 6084 }, { 19, 6105 }, + { 5, 6133 }, { 20, 6180 }, + }, + [HEROIC_DIFF] = { + { 1, 6169 }, + { 2, 6109 }, { 17, 6110 }, + { 3, 6111 }, { 18, 6112 }, + { 4, 6113 }, { 19, 6114 }, + }, +} + data["BlackrockCaverns"] = { MapID = 4926, --EncounterJournalID = 66, diff --git a/generate_changelog.sh b/generate_changelog.sh old mode 100644 new mode 100755