This commit is contained in:
Bunny67
2020-09-06 19:32:35 +03:00
parent d7d1b8b472
commit 6a1e56cfba
5 changed files with 78 additions and 4 deletions
+40
View File
@@ -1084,6 +1084,16 @@ WeakAuras.event_prototypes = {
store = true,
conditionType = "select"
},
{
name = "ignoreSelf",
display = L["Ignore Self"],
type = "toggle",
width = WeakAuras.doubleWidth,
enable = function(trigger)
return trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
end,
init = "not UnitIsUnit(\"player\", unit)"
},
{
name = "ignoreDead",
display = L["Ignore Dead"],
@@ -1284,6 +1294,16 @@ WeakAuras.event_prototypes = {
store = true,
conditionType = "select"
},
{
name = "ignoreSelf",
display = L["Ignore Self"],
type = "toggle",
width = WeakAuras.doubleWidth,
enable = function(trigger)
return trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
end,
init = "not UnitIsUnit(\"player\", unit)"
},
{
name = "ignoreDead",
display = L["Ignore Dead"],
@@ -1492,6 +1512,16 @@ WeakAuras.event_prototypes = {
store = true,
conditionType = "select"
},
{
name = "ignoreSelf",
display = L["Ignore Self"],
type = "toggle",
width = WeakAuras.doubleWidth,
enable = function(trigger)
return trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
end,
init = "not UnitIsUnit(\"player\", unit)"
},
{
name = "ignoreDead",
display = L["Ignore Dead"],
@@ -4933,6 +4963,16 @@ WeakAuras.event_prototypes = {
return not trigger.use_inverse
end
},
{
name = "ignoreSelf",
display = L["Ignore Self"],
type = "toggle",
width = WeakAuras.doubleWidth,
enable = function(trigger)
return trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party"
end,
init = "not UnitIsUnit(\"player\", unit)"
},
{
name = "sourceUnit",
init = "unit",