I'm not sure if this is WA or Hekili issue honestly - Not savvy enough to tell. 😦 With the updates today it broke the Hekili WA I've been using, rather simple code, but it ties into specific functions from the Hekili addon so I'm unsure if that's what the issue is perhaps.
`function()
local Ability_ID = Hekili_GetRecommendedAbility("Primary")
local icon, _ = nil, nil
if Ability_ID ~= nil then
Ability_ID = Hekili.Class.abilities[Ability_ID].item
icon = C_Item.GetItemIconByID(Ability_ID)
else
_, _, icon, _, _, _ = C_Spell.GetSpellInfo(Ability_ID)
end
return icon
end`