World of Warcraft library for providing player diminishing returns categorization.
Library that contains (hopefully) the most up to date diminishing returns categorization. This is purely the diminishing return data itself with API's to determine if a spellID has a diminishing return, if it diminishes in PvE and the category it diminishes in. You will have to keep track of actual DR timers yourself.
This addon is a rewrite of DRData-1.0 by Adirelle which is no longer maintained. DRList is updated to seamlessly support all World of Warcraft clients. (Classic, TBC, Wotlk, Cataclysm, Retail)
Requires LibStub.
WoW/Interface/AddOns/YourAddon/Libs/
.Libs/DRList-1.0/DRList-1.0.xml
into your addon's TOC file.Requires LibStub.
Libs/DRList-1.0/DRList-1.0.xml
into your addon's TOC file..pkgmeta file:
externals:
Libs/DRList-1.0: https://github.com/wardz/DRList-1.0
DRData
must be changed to DRList
. Easiest is to just change the LibStub call so your local DRData variable points to DRList.DRData.categoryNames
to DRList.categoryNames.retail
or DRList.categoryNames[DRList.gameExpansion]
. The only exception for this is the spell list table.Lib:IterateProviders()
must be replaced with Lib:IterateSpellsByCategory() as providers are now obsolete.Lib:GetSpellCategory()
now has an optional second return value for spells with shared DRs.
Lib.spellList[spellID]
now returns a table
for spells with shared DRs instead of a string
.Copyright (C) 2024 Wardz | MIT License.