World of Warcraft library for providing player diminishing returns categorization.
- About
- Install Manually
- Install With BigWigsMods Packager
- Upgrading From DRData to DRList
- Example usage
- API Documentation
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.
- Unzip file into
WoW/Interface/AddOns/YourAddon/Libs/
. - Add an entry for
Libs/DRList-1.0/DRList-1.0.xml
into your addon's TOC file.
Requires LibStub.
- Add an entry for
Libs/DRList-1.0/DRList-1.0.xml
into your addon's TOC file. - Add this repository to the packager's externals list:
.pkgmeta file:
externals:
Libs/DRList-1.0: https://github.com/wardz/DRList-1.0
- Any references to
DRData
must be changed toDRList
. Easiest is to just change the LibStub call so your local DRData variable points to DRList. - For accessing raw data tables you will now need to add the current expansion as an extra table property.
E.g
DRData.categoryNames
toDRList.categoryNames.retail
orDRList.categoryNames[DRList.gameExpansion]
. The only exception for this is the spell list table. - Calls to
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 atable
for spells with shared DRs instead of astring
.
Copyright (C) 2024 Wardz | MIT License.