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.
This addon is a fork/rewrite of DRData-1.0. which seems to be abandoned.
DRList is updated to seamlessly support both Classic and Retail World of Warcraft. (Classic spell list is still WIP)
- All occurances of
DRData
must be renamed toDRList
. - There's a new category added for Disarms, depending on how your addon is coded you might need to account for this.
- If you used to access the tables directly, you'll now need to add the current expansion as an extra table property.
E.g
DRData.categoryNames
toDRList.categoryNames.retail
orDRList.categoryNames.classic
. The only exception for this is the spell list table. For API functions there should be no need for changes.
Installing from source/master is not guaranteed to work. You should download a packaged version here instead:
- Curseforge Download
- Github Download
Unzip it into
WoW/Interface/AddOns/YourAddon/libs
and add an entry for it in your addon's .toc file. (See Example Usage). You may also install it as a standalone addon by putting it directly inWoW/Interface/AddOns/
. This is recommended when forking the library or creating addon packs/plugins where multiple addons use the lib.
You can ignore this section if you don't use the Curseforge packager.
addon/.pkgmeta
externals:
libs/DRList-1.0:
url: git://github.com/wardz/DRList-1.0
tag: latest
ignore:
- libs/DRList-1.0/DRList-1.0.toc # Optional
- libs/DRList-1.0/libs/LibStub # Optional if LibStub already exists
- Example usage for Retail
- Example usage for Classic Feel free to open an issue ticket if you have any questions.
- Submit a pull request.
I recommend creating a symlink between your WoW addons folder andDRList-1.0/DRList-1.0/
when forking.
Tests will be ran automatically on pull requests but you can also run them ingame by typing/drlist
. - Report bugs, requests or missing spells.
- Help translate.
Copyright (C) 2019 Wardz | MIT License.