From 83bbe12a87efb2d074bd041578391861842d9ea3 Mon Sep 17 00:00:00 2001 From: Florian Berthold Date: Mon, 25 May 2026 11:23:42 +0200 Subject: [PATCH] feat(dispels): include 4 more CoA classes in raid-frame dispel filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit COA_CLASS_DISPELS was missing Sun Cleric, Primalist (WILDWALKER token), Witchdoctor, and Tinker — so members of those classes saw no dispel highlighting on raid frames despite being able to cleanse. Sourced dispel types from coa-decursive's DCR_init.lua spell map (Sanctify, Soothing Touch, Cleansing Idol, Nanobot Cleanser), which is verified against gameplay rather than DBC misc_value. Also adds inline display-name comments for MONK / PROPHET / WILDWALKER since the in-game class names don't match the internal tokens. --- ShadowedUnitFrames/modules/auras.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ShadowedUnitFrames/modules/auras.lua b/ShadowedUnitFrames/modules/auras.lua index 4ce8168..96cbc75 100644 --- a/ShadowedUnitFrames/modules/auras.lua +++ b/ShadowedUnitFrames/modules/auras.lua @@ -6,10 +6,12 @@ local playerUnits = {player = true, vehicle = true, pet = true} -- need a manual type check. playerCoaDispels is nil until first checked, false if -- the player is not a dispelling CoA class, or a {type=true} set if they are. local playerCoaDispels +-- Class tokens: MONK = Templar, PROPHET = Venomancer, WILDWALKER = Primalist +-- (CoA in-game display names differ from internal class tokens). local COA_CLASS_DISPELS = { ["CHRONOMANCER"] = { Magic = true, Curse = true, Disease = true, Poison = true }, - ["MONK"] = { Magic = true, Disease = true, Poison = true }, - ["PROPHET"] = { Poison = true }, + ["MONK"] = { Magic = true, Disease = true, Poison = true }, -- Templar (Rebuke) + ["PROPHET"] = { Poison = true }, -- Venomancer (Antivenom) ["PYROMANCER"] = { Disease = true, Poison = true }, ["RANGER"] = { Disease = true, Poison = true }, ["CULTIST"] = { Curse = true }, @@ -17,6 +19,10 @@ local COA_CLASS_DISPELS = { ["SPIRITMAGE"] = { Magic = true }, ["STARCALLER"] = { Magic = true }, ["WITCHHUNTER"] = { Curse = true }, + ["SUNCLERIC"] = { Magic = true, Disease = true, Poison = true }, -- Sanctify + ["WILDWALKER"] = { Disease = true, Poison = true }, -- Primalist (Soothing Touch — DBC says Magic, gameplay is Poison/Disease) + ["WITCHDOCTOR"] = { Disease = true, Poison = true }, -- Cleansing Idol (AoE) + ["TINKER"] = { Disease = true, Poison = true }, -- Nanobot Cleanser } local function getCoaDispels() if playerCoaDispels ~= nil then return playerCoaDispels end