
LibObjectiveProgress-1.0
LibObjectiveProgress is a library designed to provide an API for quest objective progress weight information.
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
ArcHUD3
Smooth combat HUD based on ArcHUD2
ChatsToMSBT
Allows incoming messages to be output to MSBT
Anti-Social Mode
This addon allows players to send an auto whisper to people when whispered, informing them…
SpellBinding
Powerful key binding tool.
DHTimers
Cooldowns and Buffs for Demon Hunters, similar to TotemTimers and MonkTimers
Currency
Currency shows you all of your currencies with just a mouseover.
Avatar
Avatar
PetBattleAutoForfeit
Prompts for immediate forfeit when you enter a pet battle with no available upgrades.