Macros not working with bartender 46/18/2023 ![]() Code: Select all /run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(1) then CastSpellByName("Auto Shot OR Shoot") end Smart Buff Swap Macro Template:(Uses BUFF_1 if the main buff is active, or else uses SPELL_2) Code: Select all /run local i,x=1,0 while UnitBuff("player",i) do if UnitBuff("player",i)="Interface\\Icons\\Spell_Texture_Name" then x=1 end i=i 1 end if x=0 then CastSpellByName("BUFF") else CastSpellByName("SPELL") end You need to replace "BUFF_TEXTURE" with the TEXTURE of a particular buff and NOT it's name. Replace Auto Shot or Shoot with whatever your classes ranged auto attack is and replace (1) in IsAutoRepeatAction(1) with whatever button your melee and then ranged auto attack skill is on.(25), (37), etc. ALSO it won't toggle off your ranged auto attack if you spam it. Code: Select all /script function m(s) DEFAULT_CHAT_FRAME:AddMessage(s) end for i=1,16 do s=UnitBuff("target", i) if(s) then m("B ".i.": ".s) end s=UnitDebuff("target", i) if(s) then m("D ".i.": ".s) end end General Macros: Spammable Auto Attack Macro w/ Melee and Ranged swapping: This will use your bow or wand auto attack if your target is at range OR ELSE it will use a melee auto attack if the target comes too close. Action Bar Slots: 1 - 12 : Action Bar 1 13 - 24 : Action Bar 2 25 - 36 : Action Bar 3 (Right) 37 - 48 : Action Bar 4 (Right-2) 49 - 60 : Action Bar 5 (Bottom Right) 61 - 72 : Action Bar 6 (Bottom Left) To find "BUFF_TEXTURE" in certain macros use this macro. In time I will add and organize them as much as I can. Feel free to reply with some of your own. Just figured I'd start a random collection of useful macros. And the base game treats all mouse buttons equally.Hi guys. ![]() Addons can also bypass this behaviour, at least in part - Clique can be used for mouse-over casting on buttons assigned to mouse button functions, though I seem to recall this only works on unit frames.īeyond that, however, you’re at the mercy of the base game itself. You can even select a spell to cast and assign a target with it using MB3, MB4 or MB5, instead of MB1, just that most of the time you’d never think to do so.Īs you’ve found, changing to any non-mouse button function externally will let you use a button on the mouse as it might seem like you should. The only variation they have beyond that is having MB2 (right mouse) used for context menus, starting auto attacks, and “drop” abilities or items - that’s all. To that end I’m fairly confidant it’s deliberate (even if not specifically intentional) functionality, rather than a bug.īasically the game engine interprets mouse buttons first and foremost as mouse buttons. This is a fundamental engine limitation, and has existed since at least as far back as patch 1.12 since I recall isolating it while Blackwing Lair was still worth running.
0 Comments
Leave a Reply. |