Skip to content

Instantly share code, notes, and snippets.

View jobackman's full-sized avatar

Johan Bäckman jobackman

View GitHub Profile
@jobackman
jobackman / WA-335-GlowButton
Last active June 16, 2019 21:12
3.3.5 WeakaAura Script to find ActionButton for SpellName:
local ActionBars = { "Action", "MultiBarBottomLeft", "MultiBarBottomRight", "MultiBarRight", "MultiBarLeft" }
function LucyGlow_Find(searchName)
-- print("Searching action buttons for", searchName)
for _, barName in pairs(ActionBars) do
for i = 1, 12 do
local buttonName = barName .. "Button" .. i
local button = _G[buttonName]
local slot = ActionButton_GetPagedID(button) or ActionButton_CalculateAction(button) or button:GetAttribute("action") or 0
if HasAction(slot) then

Keybase proof

I hereby claim:

  • I am jobackman on github.
  • I am jobackman (https://keybase.io/jobackman) on keybase.
  • I have a public key ASAPIFjYpA9oMdpFm0BSxm0c6RKhXyo4Jm-sN8LHh_ZMMwo

To claim this, I am signing this object: