Skip to content

Commit

Permalink
add note for taunt
Browse files Browse the repository at this point in the history
  • Loading branch information
wardz committed Jul 3, 2024
1 parent 8545958 commit 66abc87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DRList-1.0/DRList-1.0.lua
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ end

--- Get table of all DR categories.
-- Key is unlocalized name used for API functions, value is localized name used for UI.
-- Note: the 'taunt' category should be ignored for players, but not player pets.
-- @treturn table {string=string}
function Lib:GetCategories()
return Lib.categoryNames[Lib.gameExpansion]
Expand Down Expand Up @@ -347,6 +348,7 @@ local type = _G.type -- GetCategoryBySpellID() is ran frequently from the CLEU s
--- Get unlocalized DR category by spell ID.
-- This is the main checker for if a spell has a DR.
-- See https://github.com/wardz/DRList-1.0/wiki/Example-Usage for full example usage.
-- Note: the 'taunt' category should be ignored for players, but not player pets.
-- @tparam number spellID
-- @treturn ?string The category name.
-- @treturn ?{string,...} Read-only array with multiple categories if spellID has any shared DR categories. (Note: array includes main category too)
Expand Down

0 comments on commit 66abc87

Please sign in to comment.