in your browser.
I haven\'t seen this posted on wowhead yet, so..
Return to board index
Auto-weapon swap macros for Mutilate.
Create two macros
hit this one when you log on (initialization macro)
/run ws=CreateFrame("FRAME","WS")u=UseEquipmentSet function g()d=nil for i=1,40 do n,_,_,s,_,_,x,c=UnitDebuff("target",i)if n=="Deadly Poison IX" and c=="player" then d=(x-GetTime()>5 and s==5) end end if d then u("IP") else u("DP") end end
this turns weapon swapping on/off
/run if not aso then ws:RegisterEvent("UNIT_COMBAT")ws:SetScript("OnEvent",g)DEFAULT_CHAT_FRAME:AddMessage("Autoswap On")aso=true else ws:UnregisterEvent("UNIT_COMBAT")DEFAULT_CHAT_FRAME:AddMessage("Autoswap Off")aso=nil end
you'll need 2 item sets in the blizzard itemrack, one named IP and one named DP
For anyone that can't read the code, here is what it does:
- You target something that is in combat that doesn't have a 5 stack of your deadly poison, it swaps to the DP set
- When you hit 5 stacks of deadly poison, it'll swap to the IP set
- When DP has 5 seconds remaining, it'll swap back to the DP set
- When DP is refreshed, it'll swap back to the IP set
If you're going to blatantly copy/paste other people's work, at least give credit where credit is due. Macroes were created by
Grigori at EJ
I didn't claim credit, and I couldn't find the OP on elitistjerks.
I haven't seen this posted on wowhead yet...
Same area of discussion.
You are not logged in. Please
to post a reply or
if you don't already have an account.
Connect with Wowhead
Other Fanbyte Sites
Hearthstone Top Decks
Final Fantasy XI
© 2021 Fanbyte