XiconQoo / DRList-1.0

[WoW] Library for crowd control diminishing returns categorization data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DRList-1.0 (Diminishing Returns Database)

World of Warcraft library for providing player diminishing returns categorization.

Contents

About

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 spell 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 live clients. (Classic, TBC, Mainline, Wotlk)


Manual Install

Requires LibStub.

  1. Unzip file into WoW/Interface/AddOns/YourAddon/Libs/.
  2. Add an entry for Libs/DRList-1.0/DRList-1.0.xml into your addon's TOC file.

Usage with BigWigsMods Packager

Requires LibStub.

  1. Add an entry for Libs/DRList-1.0/DRList-1.0.xml into your addon's TOC file.
  2. Add this repository to the packager's externals list. Preferably with the 'latest' tag to avoid using master branch, but both works aslong as you load the xml file.

.pkgmeta file:

externals:
  Libs/DRList-1.0:
    url: https://github.com/wardz/DRList-1.0
    tag: latest

Upgrading from DRData to DRList

  • Any occurances of DRData must be renamed to DRList.
  • There's quite a few new DR categories added. Depending on how your addon is coded you might need to account for this. (Category list)
  • For accessing data tables directly you will now need to add the current expansion as an extra table property. E.g DRData.categoryNames to DRList.categoryNames.retail or DRList.categoryNames.classic. The only exception for this is the spell list table.
  • Calls to IterateProviders must be replaced with IterateSpellsByCategory.
  • For Classic Era (vanilla) you need to mostly use spell names instead of spell IDs. See here for more details.

Contributing

License

Copyright (C) 2022 Wardz | MIT License.

About

[WoW] Library for crowd control diminishing returns categorization data.


Languages

Language:Lua 100.0%