Macro: Restocking Potions

Playguides written by Staff and Players.
Much more information on specific skills can be found in our T2A wiki.
Post Reply
User avatar
Swunk
Posts: 79
Joined: Tue Aug 04, 2015 11:28 pm

Macro: Restocking Potions

Post by Swunk »

A counter for each potion type that you use is needed. The 'If ( "Potion count" <= ? )' lines should be set to 1 potion less than what you want to stock. I also have 'Auto-Queue Object Delay actions' in Razor checked as well as 'Object delay' set to 1000 ms. If a keg is depleted and I buy another I simply re-target the double click lines to the new keg. To begin I put 60 empty bottles in the bag I want my potions in. Enjoy!
If ( "Red Potion count" <= 9 )
Double Click (0x40C58B27)
Pause 1.00sec
End If
If ( "Blue Potion count" <= 4 )
Double Click (0x40572EEF)
Pause 1.00sec
End If
If ( "Yellow Potion count" <= 9 )
Double Click (0x40A73586)
Pause 1.00sec
End If
If ( "Orange Potion count" <= 14 )
Double Click (0x407EAC7D)
Pause 1.00sec
End If
If ( "White Potion count" <= 4 )
Double Click (0x40236230)
Pause 1.00sec
End If
If ( "Purple Potion count" <= 4 )
Double Click (0X40A8C40A)
Pause 1.00sec
End If

Code: Select all

!Loop
Assistant.Macros.IfAction|50|0|9|Red Potion
Assistant.Macros.DoubleClickAction|1086688039|6464
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|4|Blue Potion
Assistant.Macros.DoubleClickAction|1079455471|6464
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|9|Yellow Potion
Assistant.Macros.DoubleClickAction|1084700038|6464
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|14|Orange Potion
Assistant.Macros.DoubleClickAction|1082043517|6464
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|4|White Potion
Assistant.Macros.DoubleClickAction|1076060720|6464
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Assistant.Macros.IfAction|50|0|4|Purple Potion
Assistant.Macros.DoubleClickAction|1084802058|6464
Assistant.Macros.PauseAction|00:00:01
Assistant.Macros.EndIfAction
Last edited by Swunk on Thu May 05, 2016 12:31 pm, edited 2 times in total.

User avatar
Mens Rea
UOSA Subscriber!
UOSA Subscriber!
Posts: 2952
Joined: Mon Jul 14, 2008 6:59 am

Re: Macro: Restocking Potions

Post by Mens Rea »

Nice Swunk, perhaps I was wrong about your attitude.

User avatar
Capitalist
Posts: 11567
Joined: Wed Jun 30, 2010 12:39 pm

Re: Macro: Restocking Potions

Post by Capitalist »

Ty!
Denis the Menace wrote:Vega for me you are just exploiting the uosa system with your vanq charged spellreflect recall invis pink boobi pvp trammel style which never existed on osi, so stfu.
Jakob wrote:Regardless of douchebag, fair player or Vega.

Post Reply

Return to “Guides”