WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Help with cancelaura macro (https://www.wowinterface.com/forums/showthread.php?t=55763)

Benalish 09-25-17 05:41 AM

Help with cancelaura macro
 
I'm trying to make an auto-cancelaura macro. This is my attempt

Lua Code:
  1. /script local function cancelauraOnUpdate(self) CancelUnitBuff("player", "Path of Frost") end; local f = CreateFrame("frame"); f:SetScript("OnUpdate", cancelauraOnUpdate)

How to disable the macro, for example, by right-clicking?

Thanks in advance

myrroddin 09-25-17 09:18 AM

https://wow.gamepedia.com/MACRO_cancelaura

Seems pretty simple! :D

Seerah 09-25-17 11:44 AM

You can't do this automatically. The function is protected and requires a hardware event.

What Blizzard will let you do is what myrroddin linked. But you still need to actually use it.


All times are GMT -6. The time now is 04:32 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI