promotional bannermobile promotional banner

DRList-1.0

Library for providing diminishing returns spellIDs & categories.

File Details

v1.5.0

  • R
  • May 13, 2024
  • 16.39 KB
  • 1.0K
  • 10.2.6+4
  • Classic + 2

File Name

DRList-1.0-v1.5.0.zip

Supported Versions

  • 10.2.6
  • 4.4.0
  • 3.4.3
  • 2.5.4
  • 1.15.2

Lib: DRList-1.0

v1.5.0 (2024-05-11)

Full Changelog Previous Releases

This update could maybe have breaking changes depending on your addon:

  • Add initial support for spells with multiple/shared DR categories & cleanup tests somewhat. (#19)
    Notably adds Deep Freeze & Ring of Frost shared DR category for Cataclysm.
    • lib:GetCategoryBySpellID(x) now returns a readonly array with DR categories in the SECOND return value if a spell has any shared DR categories. (This array includes the main category name too, which is same as the first return value kept for compability reasons)
      • If you access lib.spellList table DIRECTLY you now need to account for that some values are arrays instead of strings only.
      • Second return value for lib:GetCategoryBySpellID(x) no longer returns a spellID for Classic Era since the combat log now supports spellIDs by default after WoW patch 1.15.0. If you have legacy code using this method, you will need to update.