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:
@@ -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",
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user