Addon Details
Expansion
Categories
Developers
Having issues?
LibObjectiveProgress is a simple library designed to provide an API for quest objective progress weight information.
For Mythic dungeons, it provides the following API (where mapID is mapID, NOT worldMapID, and where isTeeming is a boolean that defaults to false):
GetNPCWeightByMap(mapID, npcID, isTeeming = false, isAlternate = false) - returns weight in percentage form ('1' for 1%) or nil
Note: isTeeming and isAlternate do not need to be supplied; they are assumed false if not provided. Also, the purpose of the 'isAlternate' argument is for two specific dungeons that share a map. Upper Karazhan and the Horde version of Siege of Boralus are accessed by supplying the argument 'true', otherwise, Lower Karazhan and the Alliance version of Siege of Boralus will have their results returned.
For quests (including world quests), it provides the following API:
GetNPCWeightByQuest(questID, npcID) - returns weight in percentage form ('1' for 1%) or nil
GetNPCWeightByCurrentQuests(npcID) - returns a table of '[questID] = weight' pairs for the specified NPC -or- nil in the case that the NPC has no weights under any of the current quests
The library is relatively lightweight, and data is not directly loaded until it is requested (first request for a map-based weight will load all map-based weights, and first request for a quest-based weight will load all quest-based weights).
KNOWN ISSUES:
World quest NPC weight data is lacking for some quests. Gathering the weights from the game's files is an intensive process and relies on the server having seen a player do the quest.
More addons for Legion
Discover other addons that might interest you
LibRangeCheck-2.0
A library to determine estimated range.
Tyllus’ HideCastBar
This small addon simply hides Blizzard's default Cast Bar.
Durability And ItemLevel
Minimalist durability and ilevel on each slot in character frame.
SurroundFix
Simple fixes for Surround or Triplewide displays
Titan Panel [Farm Buddy]
A Titan Panel plugin that adds the functionality to Track up to four Farmed Items…
ViksUI
ViksUI Interface
Carbonite Quests
Carbonite Quests addon for Carbonite Maps
iLib
A library which provides shared functionality for grdn's addons.