Skip to content

Commit

Permalink
added Tabard reward type
Browse files Browse the repository at this point in the history
  • Loading branch information
Krowi authored and Krowi committed Dec 22, 2024
1 parent c15a721 commit e3ffeb7
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 9 deletions.
3 changes: 2 additions & 1 deletion Api/AchievementDataApi.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ KrowiAF.Enum.RewardType = EnumUtil.MakeEnum(
"Transmog",
"Item",
"Teleport",
"RemixPandariaBronze"
"RemixPandariaBronze",
"Tabard"
);

KrowiAF.AchievementData = {};
Expand Down
25 changes: 21 additions & 4 deletions DataAddons/CataClassic/03_WrathOfTheLichKing/AchievementData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ KrowiAF.AchievementData["03_00_02"] = {
{42}, -- Explore Eastern Kingdoms
{43}, -- Explore Kalimdor
{44}, -- Explore Outland
{45}, -- Explore Northrend
{ -- Explore Northrend
45,
{
RewardType = rewardType.Tabard,
},
},
{ -- World Explorer
46,
{
Expand Down Expand Up @@ -1681,6 +1686,7 @@ KrowiAF.AchievementData["03_00_02"] = {
{ -- Brutally Dedicated
876,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
Expand Down Expand Up @@ -2017,7 +2023,12 @@ KrowiAF.AchievementData["03_00_02"] = {
},
{1017}, -- Can I Keep Him?
{1020}, -- Ten Tabards
{1021}, -- Twenty-Five Tabards
{ -- Twenty-Five Tabards
1021,
{
RewardType = rewardType.Tabard,
},
},
{ -- Flame Warden of Eastern Kingdoms
1022,
faction.Alliance,
Expand Down Expand Up @@ -5191,7 +5202,10 @@ KrowiAF.AchievementData["03_02_00"] = {
3857,
faction.Alliance,
3957,
true,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
{ -- Onyx Panther
3896,
Expand All @@ -5208,7 +5222,10 @@ KrowiAF.AchievementData["03_02_00"] = {
3957,
faction.Horde,
3857,
true,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
{3996}, -- Three Sixty Pain Spike (10 player)
{3997}, -- Three Sixty Pain Spike (25 player)
Expand Down
25 changes: 21 additions & 4 deletions DataAddons/Retail/03_WrathOfTheLichKing/AchievementData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ KrowiAF.AchievementData["03_00_02"] = {
{42}, -- Eastern Kingdoms Explorer
{43}, -- Kalimdor Explorer
{44}, -- Outland Explorer
{45}, -- Northrend Explorer
{ -- Northrend Explorer
45,
{
RewardType = rewardType.Tabard,
},
},
{ -- Universal Explorer
46,
{
Expand Down Expand Up @@ -1629,6 +1634,7 @@ KrowiAF.AchievementData["03_00_02"] = {
{ -- Brutally Dedicated
876,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
Expand Down Expand Up @@ -1955,7 +1961,12 @@ KrowiAF.AchievementData["03_00_02"] = {
},
{1017}, -- Can I Keep Him?
{1020}, -- Ten Tabards
{1021}, -- Twenty-Five Tabards
{ -- Twenty-Five Tabards
1021,
{
RewardType = rewardType.Tabard,
},
},
{ -- Flame Warden of Eastern Kingdoms
1022,
faction.Alliance,
Expand Down Expand Up @@ -4954,7 +4965,10 @@ KrowiAF.AchievementData["03_02_00"] = {
3857,
faction.Alliance,
3957,
true,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
{ -- Onyx Panther
3896,
Expand All @@ -4971,7 +4985,10 @@ KrowiAF.AchievementData["03_02_00"] = {
3957,
faction.Horde,
3857,
true,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
{3996}, -- Three Sixty Pain Spike (10 player)
{3997}, -- Three Sixty Pain Spike (25 player)
Expand Down
1 change: 1 addition & 0 deletions DataAddons/Retail/07_Legion/AchievementData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3230,6 +3230,7 @@ KrowiAF.AchievementData["07_03_05"] = {
{ -- Family Brawler
12290,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
Expand Down
1 change: 1 addition & 0 deletions DataAddons/Retail/08_BattleForAzeroth/AchievementData.lua
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ KrowiAF.AchievementData["08_00_01"] = {
{ -- Dueling Master
12863,
{
RewardType = rewardType.Tabard,
IsPvP = true,
},
},
Expand Down
1 change: 1 addition & 0 deletions Gui/WindowFrames/FilterButton/FilterButtonMixin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ do -- AchievementFilters
self:CreateCheckbox(reward, addon.L["Toy"], filters, {"RewardType", KrowiAF.Enum.RewardType.Toy}, true);
self:CreateCheckbox(reward, addon.L["Teleport"], filters, {"RewardType", KrowiAF.Enum.RewardType.Teleport}, true);
self:CreateCheckbox(reward, addon.L["Transmog"], filters, {"RewardType", KrowiAF.Enum.RewardType.Transmog}, true);
self:CreateCheckbox(reward, addon.L["Tabard"], filters, {"RewardType", KrowiAF.Enum.RewardType.Tabard}, true);
self:CreateCheckbox(reward, addon.L["Other"], filters, {"RewardType", KrowiAF.Enum.RewardType.Other}, true);
addon.MenuUtil:CreateDivider(reward);
self:CreateCheckbox(reward, addon.L["Remix Pandaria Bronze"], filters, {"RewardType", KrowiAF.Enum.RewardType.RemixPandariaBronze}, true);
Expand Down

0 comments on commit e3ffeb7

Please sign in to comment.