SpellSteal script for rogue
Hello dear community:)
I have a question about how to modify script below to show flashy icons only on those spellIDs (49016,52610,5229,34692,19574,18499) Code:
if UnitClass("player")=="Rogue"then |
Dry coded, untested. I am not sure what the arguments are for TargetFrame_UpdateAuras, they could help in optimizing the code; I am also unsure as to how "not s.maxBuffs or i<=s.maxBuffs" was intended to help, it seems a bit useless, but I left it.
Lua Code:
|
I didn't test it either, but some observations
Code:
local _, playerClass = UnitClass("player") |
Thanks a lot for replies, however only Phanx method works:D
|
Thanks Phanx <3
|
If you want you can use the fact that the UpdateAuraPositions(at tail-end of UpdateAuras) loops through the buffs as well. Works great for hiding or repositioning those squirmy target de/buffs and adding timers.
Code:
hooksecurefunc('TargetFrame_UpdateBuffAnchor', function(self, name, index, ...) |
All times are GMT -6. The time now is 10:30 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI