Skip to content

Commit

Permalink
Adds the ability for major faction renown level to use account unlock…
Browse files Browse the repository at this point in the history
… prerequisites.
  • Loading branch information
smaitch committed Jan 4, 2023
1 parent dfb4259 commit df1da83
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Wholly.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2837,8 +2837,9 @@ WorldMapFrame:AddDataProvider(self.mapPinsProvider)
elseif questCode == ')' then
local currencyName, currentAmount = GRAIL:GetCurrencyInfo(subcode)
return format("|c%s%s|r", colorCode, currencyName)
elseif questCode == '_' then
return format("|c%s%s - %s|r", colorCode, LANDING_PAGE_RENOWN_LABEL, GRAIL.reputationMapping[subcode])
elseif questCode == '_' or questCode == '~' then
local extra = questCode == '~' and " [" .. Grail.accountUnlock .. "]" or ""
return format("|c%s%s%s - %s|r", colorCode, LANDING_PAGE_RENOWN_LABEL, extra, GRAIL.reputationMapping[subcode])
elseif questCode == '`' then
local mapId = tonumber(subcode)
local poiId = tonumber(numeric)
Expand Down

0 comments on commit df1da83

Please sign in to comment.