Is there a way to use a Simple Repair hammer on your main hand weapon (or off hand / bow) when the durability reaches a certain value?
It is not always conveniate to head back to a repair guy when I'm far out.
Thanks
Question: Using Simple Repair Hammer
Re: Question: Using Simple Repair Hammer
When main hand durability is below 'a certain value'
Use the Simple Repair hammer.
On the main hand weapon (thats a left click so like picking up)
You probably want to make sure you have hammers first or you could end up disarming yourself.
So
Then just put it somewhere to execute regularly like the OnLeaveCombat section.
This is untested so watch it the first time to make sure it works.
Code: Select all
if 80 > inventory:getMainHandDurability() then
Code: Select all
inventory:useItem("Simple Repair Hammer")
Code: Select all
RoMScript("PickupEquipmentItem(15);"); -- I think in the game, main hand is 15.
So
Code: Select all
if 80 > inventory:getMainHandDurability() then
if inventory:itemTotalCount("Simple Repair Hammer") > 0 then
inventory:useItem("Simple Repair Hammer")
yrest(1000)
RoMScript("PickupEquipmentItem(15);"); -- I think in the game, main hand is 15
else
-- Maybe here you could head back for repairs seeing as you are out of hammers
end
end
This is untested so watch it the first time to make sure it works.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Question: Using Simple Repair Hammer
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest