UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

potion macro

crackhead

Knight
new to steam and i want a macro that checks to see if mortaled, if mortaled eats apple, then drink cure then heal then stam potions. i dont want to learn anything i just want that macro if somones got it. i can record but item id changes everytime i log on so thats not gonna work.
 
Last edited:

april0395

Sorceror
The item ID will change for each apple, you need to 'usetype graphic' where you put the graphic ID of it rather than the serial ID.

I might try to work something for you, but I get so confused sometimes with steam macros. I know there are some very good people with steam, though.
 

april0395

Sorceror
It'll probably look something along these lines. I haven't tested it or anything, and I'm definitely not a pro at this. Someone can probably make something better.

Code:
// drink refresh
if stam < 10
usetype 0xf0b
endif
// drink cure
if poisoned 'self'
usetype 0xf07
endif
// eat apple
if yellowhits 'self'
usetype 0x2fd8
endif
// drink heal
if not yellowhits 'self'
if hits < 120
usetype 0xf0c
endif
endif
 

silvertiger

Knight
It'll probably look something along these lines. I haven't tested it or anything, and I'm definitely not a pro at this. Someone can probably make something better.

Code:
// drink refresh
if stam < 10
usetype 0xf0b
endif
// drink cure
if poisoned 'self'
usetype 0xf07
endif
// eat apple
if yellowhits 'self'
usetype 0x2fd8
endif
// drink heal
if not yellowhits 'self'
if hits < 120
usetype 0xf0c
endif
endif
I will post a better code for you, darky. I can see you are soooo anxious to be the best solo out there. Oh wait, aren't you already the best solo? Or did you guild up? Seriously, though I will post a macro this weekend, not for your sake, but for those who actually do want this macro.
 

silvertiger

Knight
if not timerexists 'Heal Potion'
createtimer 'Heal Potion'
endif
if not timerexists 'Enchanted Apple'
createtimer 'Enchanted Apple'
endif
if stam < 10
// Refresh potion
usetype! 0xf0b
endif
if poisoned 'self'
// Cure potion
usetype! 0xf07
endif
if not yellowhits 'self'
if diffhits >= 30 and timer 'Heal Potion' >= 10250
// Heal potion
if usetype! 0xf0c
settimer 'Heal Potion' 0
endif
endif
// Enchanted apple
elseif timer 'Enchanted Apple' >= 30250 and usetype! 0x2fd8
settimer 'Enchanted Apple' 0
endif

@crackhead
Here ya go, Doc. Sorry, I didn't get this to you sooner. :p
 
Top