Skip to content

wardz/DRList-1.0

Repository files navigation

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 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, Mainline, soon Cataclysm)


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:

.pkgmeta file:

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

Upgrading from DRData to DRList

  • Any occurances of DRData must be renamed to DRList. Easiest is to just change the LibStub call so your DRData variable redirects 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 raw data tables 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. Providers are obsolete.

Contributing

License

Copyright (C) 2024 Wardz | MIT License.