fix(map): robustly hide Callboard/Contract Board quests below 60 (#10)
Ascension board bounties (e.g. NPC 24 'Outlaw's Contract Board') aren't reliably flagged repeatable, so IsRepeatable missed them and their ! kept showing below 60. Add QuestieDB.IsBoardQuest (detects starter NPC/object names containing 'board', cached per quest); the hide-below-60 option now hides repeatable OR board quests in both the draw path and ShouldBeHidden.
This commit is contained in:
@@ -542,7 +542,7 @@ function _Qframe:ShouldBeHidden()
|
||||
and ((not DailyQuests:IsActiveDailyQuest(questId)) -- hide not-today-dailies
|
||||
or ((not profile.enableAvailable) and normal)
|
||||
or ((not profile.showRepeatableQuests) and repeatable)
|
||||
or (profile.hideRepeatableBelowMaxLevel and repeatable and (UnitLevel("player") or 0) < 60) -- Hide Callboard/repeatable quests below 60 (#10)
|
||||
or (profile.hideRepeatableBelowMaxLevel and (repeatable or QuestieDB.IsBoardQuest(questId)) and (UnitLevel("player") or 0) < 60) -- Hide Callboard/repeatable quests below 60 (#10)
|
||||
or ((not profile.showEventQuests) and event)
|
||||
or ((not profile.showDungeonQuests) and dungeon)
|
||||
or ((not profile.showRaidQuests) and raid)
|
||||
|
||||
Reference in New Issue
Block a user