View Single Post
08-10-21, 09:27 AM   #1
Ariya021
A Kobold Labourer
Join Date: Aug 2021
Posts: 1
Need help with spell activation overlay

hi i wan to make addon to show blizzard spell alert like hot strike fire mage but when this buff proc on bm hunter 'Flayer's Mark' anyone can help me with that ? its simple i try to change this code but its not show the overlay.

local frame = CreateFrame("FRAME")
frame:RegisterEvent("UNIT_AURA")

frame:SetScript("OnEvent", function(self, event, ...)
local unitid = ... if unitid ~= "player" then return end

if AuraUtil.FindAuraByName("Flayer's Mark", "player", "HELPFUL") then
SpellActivationOverlay_ShowOverlay(SpellActivationOverlayFrame, 263725, "Textures\\SpellActivationOverlays\\GenericTop_01.BLP", "TOP", 1, 255, 190, 205)
else
SpellActivationOverlay_HideOverlays(SpellActivationOverlayFrame, 263725)
end
end)


tnx
  Reply With Quote