if Buff on me in combat only iam log on warri
Code:
if class == "WARRIOR" then Iam new whit Lua and I've stolen a lot of things together what it should do?!? When I'm warrior and not Commanding Shout or Battle Shout in the fight on me than show a icon over me. |
Here's something similar to what i use...
Code:
local function BuffGroup(ids, r,g,b) |
no, I want to be remembered only in the fight.
First, I want to benefit from the buff rage secondly, my script works well so. just outside of combat the script, will not delete the icon |
add frame:SetScript("OnEvent", nil) for REGEN_ENABLED
|
can you be more specific?
in your script or mine? but thanks for your answer |
The code you posted replaces its own OnEvent function.
Because of this, it no longer reacts to the "PLAYER_REGEN_..." events. |
My suggestion / meine Empfehlung:
Code:
local frame = CreateFrame("Frame") |
big thanks it works!
|
All times are GMT -6. The time now is 09:29 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI