Skip to content

Commit 572b190

Browse files
authored
Merge pull request #64 from Amadeus-/master
Update to version 11.0.2
2 parents 96eb008 + 8937782 commit 572b190

File tree

5 files changed

+881
-458
lines changed

5 files changed

+881
-458
lines changed

Broker_WorldQuests.toc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
## Interface: 100002
2-
## Author: myno (original author; up through 8.x), Amadeus (maintainer: 9.x and 10.x)
1+
## Interface: 110002
2+
## Author: myno (original author; up through 8.x), Amadeus (maintainer since 9.0)
33
## Title: Broker_WorldQuests
4-
## Version: 10.0.2.1
4+
## Version: 11.0.2.9
55
## SavedVariables: BWQcfg
66
## SavedVariablesPerCharacter: BWQcache, BWQcfgPerCharacter
77
## Notes: Broker plugin to display world quests as a list.
88

99
libs/CallbackHandler-1.0.lua
1010
libs/LibDataBroker-1.1.lua
1111
Constants.lua
12-
WorldQuests.lua
12+
WorldQuests.lua

CHANGELOG.md

Lines changed: 89 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,110 @@
1+
### 11.0.2.9
2+
* Fixed currencies being incorrect or showing as zero.
3+
* Increased the max width of the BWQ window.
4+
* Increased the size of the red highlight arrow (that appears on the map
5+
when you click on a WQ in the addon) by 35%.
6+
7+
### 11.0.2.8
8+
* Added support for Kej currency
9+
10+
### 11.0.2.7
11+
* Added support for Valorstones currency
12+
13+
### 11.0.2.6
14+
* Added support for Azj-Kahet
15+
16+
### 11.0.2.5
17+
* Added support for Hallowfall Arathi currency
18+
19+
### 11.0.2.4
20+
* World Quests will now properly unlock for all appropriate characters in The War Within
21+
22+
### 11.0.2.3
23+
* Disabled text notification for unhandled currency. This is intended for developers.
24+
25+
### 11.0.2.2
26+
* Fixed criteria for unlocking World Quests in The War Within
27+
* Added support for currency: Resonance Crystals
28+
* Added support for currency: The Assembly of the Deeps
29+
30+
### 11.0.2.1
31+
* Initial updates required for The War Within
32+
* New users will be set to the expansion appropriate to their current level instead of defaulting
33+
to the latest expansion.
34+
35+
### 11.0.2.0
36+
* Fixed deprecated call to IsAddonLoaded()
37+
38+
### 11.0.0.2
39+
* Updates to Faction related calls due to API changes with 11.0.0
40+
41+
### 11.0.0.1
42+
* Updates for WoW version 11.0.0
43+
44+
### 10.2.7.0
45+
* Updates for Dragonflight 10.2.7
46+
47+
### 10.2.5.1
48+
* Fixed an issue affecting Polished Pet Charms (thanks tflo for catching it.)
49+
50+
### 10.2.5.0
51+
* Updates for Dragonflight 10.1, 10.2 and 10.2.5
52+
53+
### 10.1.7
54+
* TOC Bump
55+
56+
### 10.1.0
57+
* Added Zaralek Cavern and Flightstone currency
58+
59+
### 10.0.7
60+
* Added Forbidden Reach zone and Elemental Overflow currency
61+
62+
### 10.0.2.8
63+
* Fixed WQs not properly showing for "Primalist Tomorrow" zone (Dragonflight)
64+
65+
### 10.0.2.7
66+
* Added support for "Rustbolt Resistance" reputation currency (added in WoW v. 8.2.0.30918)
67+
68+
### 10.0.2.6
69+
* Added support for "Primalist Tomorrow" zone (Dragonflight)
70+
71+
### 10.0.2.5
72+
Changes below submitted by ntowle (github)
73+
* Broker options for Dragon Isles Supplies, Bloody Tokens, Polished Pet Charms
74+
* Filters for Dragon Isles Supplies, Bloody Tokens
75+
* Split DF reputation out
76+
* Options for DF reputation by faction
77+
* Total Polished Pet Charms available
78+
* Total Dragon Isles Supplies available
79+
* Reorganize menus to move old expansion options to submenus
80+
* Fix Grateful Offering checkbox
81+
* Fix Conduits icon
82+
83+
### 10.0.2.4
84+
* Add support for Valdrakken Accord (Dragonflight reputation currency)
85+
86+
### 10.0.2.3
87+
* Add support for Bloody Tokens (Dragonflight PVP Currency)
88+
189
### 10.0.2.1
290
* Updates for Shadowlands compatibility
391
* Initial Updates for Dragonflight compatibility
492

593
### 9.0.63
6-
794
* Bug fixes
895

996
### 9.0.62
10-
1197
* Added BfA assault zones
1298
* Fixed paragon faction bar performance issue
1399
* Fixed some filters
14100

15101
### 9.0.61
16-
17102
* Bug fixes for Shadowlands pre-patch
18103

19104
### 8.1.58
20-
21105
* Fixed incorrect questIds for Battle on Zandalar and Kul Tiras
22106

23107
### 8.1.57
24-
25108
* Added quest title highlight for achievement quest criterias
26109
- Fishing 'Round The Isles (Legion Fishing)
27110
- Battle on the Broken Isles (Legion Pet Battle)
@@ -30,8 +113,7 @@
30113
* Fixed no world quests error message showing when all zones are collapsed
31114

32115
### 8.1.56
33-
34116
* Added basic TomTom support. Clicking a row will set this quest as waypoint.
35117
* Added option to hide paragon reputation bars
36118
* Removed expansion toggle in dropdown menu (use the buttons in the top-right corner)
37-
* Moved some options to reduce number of dropdown items
119+
* Moved some options to reduce number of dropdown items

Constants.lua

Lines changed: 56 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
local _, addon = ...
22
local CONSTANTS = {}
33

4-
54
CONSTANTS.EXPANSIONS = {
65
LEGION = "LEGION",
76
BFA = "BFA",
87
SHADOWLANDS = "SHADOWLANDS",
98
DRAGONFLIGHT = "DRAGONFLIGHT",
9+
THEWARWITHIN = "THEWARWITHIN"
1010
}
1111
CONSTANTS.FACTIONS = {
1212
NEUTRAL = 0,
@@ -39,6 +39,7 @@ CONSTANTS.WORLD_QUEST_TYPES = {
3939
RAID = 8,
4040
}
4141

42+
-- The name here should match the currency name in game (verified via Wowhead). Some currencies are singular, some are plural.
4243
CONSTANTS.REWARD_TYPES = {
4344
IRRELEVANT = -1,
4445
ARTIFACTPOWER = 0,
@@ -50,15 +51,35 @@ CONSTANTS.REWARD_TYPES = {
5051
HONOR = 6,
5152
NETHERSHARD = 7,
5253
ARGUNITE = 8,
53-
WAKENING_ESSENCES = 9,
54+
WAKENING_ESSENCE = 9,
5455
WAR_RESOURCES = 10,
5556
MARK_OF_HONOR = 11,
56-
SERVICE_MEDALS = 12,
57+
SERVICE_MEDAL = 12,
5758
PRISMATIC_MANAPEARL = 13,
5859
SOULBIND_CONDUIT = 14,
5960
ANIMA_CONTAINER = 15,
6061
GRATEFUL_OFFERING = 15,
6162
CYPHERS_OF_THE_FIRST_ONES = 16,
63+
BLOODY_TOKENS = 17,
64+
DRAGON_ISLES_SUPPLIES = 18,
65+
ELEMENTAL_OVERFLOW = 19,
66+
FLIGHTSTONES = 20,
67+
POLISHED_PET_CHARM = 21,
68+
BATTLE_PET_BANDAGE = 22,
69+
WHELPLINGS_DREAMING_CREST = 23,
70+
DRAKES_DREAMING_CREST = 24,
71+
WYRMS_DREAMING_CREST = 25,
72+
ASPECTS_DREAMING_CREST = 26,
73+
WHELPLINGS_AWAKENED_CREST = 27,
74+
DRAKES_AWAKENED_CREST = 28,
75+
WYRMS_AWAKENED_CREST = 29,
76+
ASPECTS_AWAKENED_CREST = 30,
77+
MYSTERIOUS_FRAGMENT = 31,
78+
RESONANCE_CRYSTALS = 32,
79+
THE_ASSEMBLY_OF_THE_DEEPS = 33,
80+
HALLOWFALL_ARATHI = 34,
81+
VALORSTONES = 35,
82+
KEJ = 36,
6283
}
6384

6485
CONSTANTS.QUEST_TYPES = {
@@ -96,22 +117,30 @@ CONSTANTS.WORLD_QUEST_ICONS_BY_TAG_ID = {
96117
[260] = isHorde and "worldquest-icon-horde" or "worldquest-icon-alliance",
97118
}
98119

99-
100120
CONSTANTS.CURRENCIES_AFFECTED_BY_WARMODE = {
101121
[1226] = true, -- nethershard
102122
[1508] = true, -- argunite
103123
[1533] = true, -- wakening essence
104124
[1342] = true, -- legionfall supplies
105125
[1220] = true, -- order hall (legion)
106126
[1560] = true, -- war resources (bfa)
107-
[1553] = true, -- azerite
127+
[1553] = true, -- azerite (bfa)
128+
[2123] = true, -- Bloody Tokens (dragonflight)
129+
}
130+
131+
CONSTANTS.THEWARWITHIN_REPUTATION_CURRENCY_IDS = {
132+
[2902] = true, -- The Assembly of the Deeps
133+
[2899] = true, -- Hallowfall Arathi
108134
}
109135

110136
CONSTANTS.DRAGONFLIGHT_REPUTATION_CURRENCY_IDS = {
111-
[2003] = true, -- Dragon Isles Supplies
137+
[2107] = true, -- Artisan's Consortium
112138
[2108] = true, -- Maruuk Centaur
113139
[2109] = true, -- Iskaara Tuskarr
114140
[2031] = true, -- Dragonscale Expedition
141+
[2106] = true, -- Valdrakken Accord
142+
[2420] = true, -- Loamm Niffen
143+
[2652] = true, -- Dream wardens
115144
}
116145

117146
CONSTANTS.SHADOWLANDS_REPUTATION_CURRENCY_IDS = {
@@ -129,16 +158,17 @@ CONSTANTS.SHADOWLANDS_REPUTATION_CURRENCY_IDS = {
129158
}
130159

131160
CONSTANTS.BFA_REPUTATION_CURRENCY_IDS = {
132-
[1579] = true, -- both
133-
[1598] = true,
134-
[1600] = true, -- alliance
135-
[1595] = true,
136-
[1597] = true,
137-
[1596] = true,
138-
[1599] = true, -- horde
139-
[1593] = true,
140-
[1594] = true,
141-
[1592] = true,
161+
[1579] = true, -- Champions of Azeroth
162+
[1598] = true, -- Tortollan Seekers
163+
[1600] = true, -- Honorbound
164+
[1595] = true, -- Talanji's Expedition
165+
[1597] = true, -- Zandalari Empire
166+
[1596] = true, -- Voldunai
167+
[1599] = true, -- 7th Legion
168+
[1593] = true, -- Proudmoore Admiralty
169+
[1594] = true, -- Storm's Wake
170+
[1592] = true, -- Order of Embers
171+
[1742] = true, -- Rustbolt Resistance
142172
}
143173

144174
CONSTANTS.FAMILY_FAMILIAR_QUEST_IDS = { -- WQ pet battle achievement
@@ -161,6 +191,7 @@ CONSTANTS.FAMILY_FAMILIAR_QUEST_IDS = { -- WQ pet battle achievement
161191

162192
CONSTANTS.ACHIEVEMENT_IDS = {
163193
PET_BATTLE_WQ = {
194+
[CONSTANTS.EXPANSIONS.THEWARWITHIN] = 40153,
164195
[CONSTANTS.EXPANSIONS.DRAGONFLIGHT] = 16464,
165196
[CONSTANTS.EXPANSIONS.SHADOWLANDS] = 14625,
166197
[CONSTANTS.EXPANSIONS.BFA] = 12936,
@@ -339,12 +370,19 @@ CONSTANTS.PARAGON_FACTIONS = {
339370
[2478] = "inv_misc_enlightenedbrokers_paragoncache01", -- TheEnlightened
340371
},
341372
dragonflight = {
342-
order = {2507, 2503, 2511, 2510 },
373+
order = {2507, 2503, 2511, 2510, 2564, 2574 },
343374
[2507] = "ui_majorfaction_expedition", -- Dragonscale Expedition
344375
[2503] = "ui_majorfaction_centaur", -- Maruuk Centaur
345376
[2511] = "ui_majorfaction_tuskarr", -- Iskaara Tuskarr
346377
[2510] = "ui_majorfaction_valdrakken", -- Valdrakken Accord
378+
[2564] = "ui_majorfaction_niffen", -- Loamm Niffen
379+
[2574] = "ui_majorfaction_denizens", -- Dream Wardens
380+
},
381+
thewarwithin = {
382+
order = {2902, 2899 },
383+
[2902] = "ui_majorfactions_candle", -- The Assembly of the Deeps
384+
[2899] = "ui_majorfactions_flame", -- Hallowfall Arathi
347385
},
348386
}
349387

350-
addon.CONSTANTS = CONSTANTS
388+
addon.CONSTANTS = CONSTANTS

0 commit comments

Comments
 (0)