from retail

This commit is contained in:
NoM0Re
2025-01-19 14:27:20 +01:00
parent f72e96ae6e
commit dccd22b610
13 changed files with 530 additions and 91 deletions
+13 -1
View File
@@ -2686,10 +2686,22 @@ function BuffTrigger.GetTriggerConditions(data, triggernum)
}
result["unitCaster"] = {
display = L["Caster"],
display = L["Caster Unit"],
type = "string"
}
result["nameCaster"] = {
display = L["Casters Name/Realm"],
type = "string",
preamble = function(input)
return Private.ExecEnv.ParseNameCheck(input)
end,
test = function(state, needle, op, preamble)
return state.unitCaster and preamble:Check(WeakAuras.UnitNameWithRealm(state.unitCaster))
end,
operator_types = "none",
}
result["expirationTime"] = {
display = L["Remaining Duration"],
type = "timer"