(feat/BT2): Introduce inRange trigger and fix missing polling for ignoreInvisible (#78)

(cherry picked from commit 67057d6fddb444dc8c205dc99163e9a1e4056326)
This commit is contained in:
NoM0Re
2025-10-24 01:13:13 +02:00
committed by andrew6180
parent 205567502a
commit a1a6c76992
2 changed files with 51 additions and 10 deletions
+8
View File
@@ -1082,6 +1082,14 @@ local function GetBuffTriggerOptions(data, triggernum)
width = WeakAuras.doubleWidth,
hidden = function() return not (trigger.type == "aura2" and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party")) end
},
inRange = {
type = "toggle",
name = L["Ignore out of casting range"],
desc = L["Uses UnitInRange() to check if in range. Matches default raid frames out of range behavior, which is between 25 to 40 yards depending on your class and spec."],
order = 69.81,
width = WeakAuras.doubleWidth,
hidden = function() return not (trigger.type == "aura2" and (trigger.unit == "group" or trigger.unit == "raid" or trigger.unit == "party")) end
},
ignoreInvisible = {
type = "toggle",
name = L["Ignore out of checking range"],