add not Item Equipped, not Spell Known, Race load options

This commit is contained in:
NoM0Re
2024-07-12 19:54:09 +02:00
parent b5b9a6f42d
commit 0d29781570
15 changed files with 77 additions and 3 deletions
+23 -1
View File
@@ -914,6 +914,21 @@ Private.load_prototype = {
events = {"SPELLS_CHANGED"},
showExactOption = true
},
{
name = "not_spellknown",
display = WeakAuras.newFeatureString .. L["|cFFFF0000Not|r Spell Known"],
type = "spell",
test = "not WeakAuras.IsSpellKnownForLoad(%s, %s)",
events = {"SPELLS_CHANGED"},
showExactOption = true
},
{
name = "race",
display = L["Player Race"],
type = "multiselect",
values = "race_types",
init = "arg"
},
{
name = "faction",
display = L["Player Faction"],
@@ -990,7 +1005,14 @@ Private.load_prototype = {
type = "item",
test = "IsEquippedItem(%s)",
events = { "UNIT_INVENTORY_CHANGED", "PLAYER_EQUIPMENT_CHANGED"}
}
},
{
name = "not_itemequiped",
display = WeakAuras.newFeatureString .. L["|cFFFF0000Not|r Item Equipped"],
type = "item",
test = "not IsEquippedItem(%s)",
events = { "UNIT_INVENTORY_CHANGED", "PLAYER_EQUIPMENT_CHANGED"}
},
}
};