C_UnitAuras .IsAuraFilteredOutByInstanceID
Jump to navigation
Jump to search
Tests if an aura passes a specific filter.
isFiltered = C_UnitAuras.IsAuraFilteredOutByInstanceID(unit, auraInstanceID, filterString)
Arguments
- unit
- string : UnitId - The unit to query.
- auraInstanceID
- number - The aura instance ID to test.
- filterString
- string - The aura filter string to test, eg. "HELPFUL" or "HARMFUL".
Filters
Filter | Description |
---|---|
"HELPFUL" | Buffs |
"HARMFUL" | Debuffs |
"PLAYER" | |
"RAID" | Buffs the player can apply and debuffs the player can dispell |
"CANCELABLE" | Buffs that can be cancelled with /cancelaura or CancelUnitBuff() |
"NOT_CANCELABLE" | Buffs that cannot be cancelled |
"INCLUDE_NAME_PLATE_ONLY" | Auras that should be shown on nameplates |
"MAW" | Torghast Anima Powers |
Returns
- isFiltered
- boolean -
true
if the aura passes the specified filter, orfalse
if not.
Patch changes
Patch 10.0.0 (2022-10-25): Added.