Originally posted by Pinch of Premonition
2 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
You have to do nothing. The only thing on your end is the annoying GCD's caused by the swaps.
Des is des Makro von http://www.buffed.de/forum/index.php?act=p...16&t=130309
Das Problem ist jetzt, dass es anscheinend Dp benutzt, aber dann nicht mehr zurück switcht .......Siehe Zitat.
Könnte bitte sich einer diesem Problem annehmen und das ausprobieren und reparieren plz.
Zitat:aber er swappt so zwar auf DP wenn kein DP drauf ist, aber wenn 5 Stacks drauf sind wechselt er irgendwie nicht auf IP, kp is bestimmt nurn kleiner fehler im code aber echt krass was alles so mit makros geht ;-)
2 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
You have to do nothing. The only thing on your end is the annoying GCD's caused by the swaps.
Des is des Makro von http://www.buffed.de/forum/index.php?act=p...16&t=130309
Das Problem ist jetzt, dass es anscheinend Dp benutzt, aber dann nicht mehr zurück switcht .......Siehe Zitat.
Könnte bitte sich einer diesem Problem annehmen und das ausprobieren und reparieren plz.
Zitat:aber er swappt so zwar auf DP wenn kein DP drauf ist, aber wenn 5 Stacks drauf sind wechselt er irgendwie nicht auf IP, kp is bestimmt nurn kleiner fehler im code aber echt krass was alles so mit makros geht ;-)
Zuletzt bearbeitet von einem Moderator: