Skip to content

Is Dispellable By Me

Core Helper

Checks whether the active character can dispel a debuff type according to ElvUI’s dispel map.

NamespaceEModuleCoreLifecyclestable
E:IsDispellableByMe(debuffType)

Checks whether the active character can dispel a debuff type according to ElvUI’s dispel map.

  • debuffType: Debuff type string such as Magic, Curse, Disease, or Poison.

Truthy value when the debuff type can be dispelled by the player.

if E:IsDispellableByMe(debuffType) then
border:Show()
end

Useful for addon aura highlights that should line up with ElvUI dispel coloring.

Source: ElvUI/Game/Shared/General/API.lua:707