diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index 95f6e11e05..17774b7b85 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -10390,6 +10390,10 @@ Private.event_prototypes = { conditionType = "bool", }, }, + GetNameAndIcon = function(trigger) + local currencyInfo = Private.GetCurrencyInfoForTrigger(trigger) + return currencyInfo and currencyInfo.name, currencyInfo and currencyInfo.iconFileID + end, automaticrequired = true }, };