Add faction/interactability filtering to minimap icons

Filter hostile units, wrong-faction summoned NPCs, and non-interactable
game objects from minimap tracking. Dynamic checks (UnitReaction, owner
faction, GO_FLAG_NO_INTERACT) run every frame since group membership can
change. GUID cache still handles static classification (NPC flags/subname).

Also fix missing ECX clobber in outline UnitReaction inline asm.
This commit is contained in:
MarcelineVQ
2026-03-08 17:15:17 -07:00
parent 3485699422
commit 08cbbb2b8e
3 changed files with 133 additions and 9 deletions
+4 -3
View File
@@ -9,13 +9,14 @@ MINIMAPICONS_VERSION = 3
-- =============================================================================
local SPELL_CATEGORIES = {
{ name = "Hunter Tracking", spells = {
{ name = UnitClass("player") .. " Tracking", spells = {
"Track Beasts", "Track Humanoids", "Track Undead", "Track Hidden",
"Track Elementals", "Track Demons", "Track Giants", "Track Dragonkin",
}},
{ name = "Class Abilities", spells = {
"Sense Undead", "Sense Demons",
}},
-- { name = "Class Abilities", spells = {
-- "Sense Undead", "Sense Demons",
-- }},
{ name = "Professions", spells = {
"Find Herbs", "Find Minerals", "Find Treasure",
}},