Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
show-progress: false

Expand All @@ -41,7 +41,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
show-progress: false

Expand Down
10 changes: 9 additions & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ read_globals = {

-- API
C_UnitAuras = {
fields = { 'GetAuraByAuraInstanceID', 'GetAuraDataBySlot', 'GetAuraSlots' }
fields = {
'GetAuraApplicationDisplayCount',
'GetAuraByAuraInstanceID',
'GetAuraDataBySlot',
'GetAuraDispelTypeColor',
'GetAuraDuration',
'GetAuraSlots',
'IsAuraFilteredOutByInstanceID',
},
},
'CreateFrame',
'IsPlayerSpell',
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ It does nothing by itself and requires layout support to do its magic.
oUF_Dispellable provides functionality to highlight debuffs dispellable by the player. It can display either a texture
colored by the debuff type, or an icon representing the found dispellable debuff, or both.

It enables and disables itself automatically based on whether the player can dispel or not and keeps an always updated
list of the dispel spells available to the player. It also keeps track of self-dispels like [Grimoire: Imp](http://www.wowdb.com/spells/111859)
and [Cleansed by Flame](http://www.wowdb.com/spells/205625) to only highlight the player frame when only those are known.
Since Midnight the addon relies on the `HARMFUL|RAID` aura filter to get debuffs dispellable by the player. The addon
does not know in advance if and what debuff types you can dispel and is thus always active, even when the player does
not know any dispelling spells.

## How to use (for layout authors)

The element is fully documented and follows the current oUF guidelines for documentation. Please take a look at the code
for details and examples. You could also consult the [wiki](https://github.com/Rainrider/oUF_Dispellable/wiki).
for details and examples.

Please consider making oUF_Dispellable optional for your users. The easiest way is to distribute it with your layout as a
separate addon and use something like `if not IsAddOnLoaded('oUF_Dispellable') then return end` before calling its
Expand Down
Loading