
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
Get Over Here!
Get Over Here!
AdiBags
Adirelle's bag addon.
Annene
Rearrangement of the pet battle interface.
Plater Nameplates
Highly customizable nameplate with support to scripts and animations.
BigWigs_Transcriptor
Use BigWigs for pull/win/wipe detection to automatically start or stop Transcriptor logging.
Improved Options Frames
Allows you to scale and move the Blizzard options frames.
Aardvark
Aardvark. Your one stop sell, destroy and repair addon. Accept no substitutes.
AddOnSkins
Template Based AddOn Skinning