hawksworth 0 Report post Posted July 22, 2017 Is there a macro that will use healthstone with first key press then use heal pot on second? Not sure it's possible in vanilla. The one I currently have uses healthstone and heal pot at once which could result in over healing. Thanks 0 Share this post Link to post Share on other sites
WobLight 5 Report post Posted July 22, 2017 using items with macro is not easy in vanilla, best thing would be putting Healthstone and pot in two different buttons, then using a third to activate them with a macro: /run stoneId=# potId=# if IsUsableAction(stoneId) and GetActionCooldown(stoneId) == 0 then UseAction(stoneId) else UseAction(potId) end replace `#` with slot ids as per: Spoiler This will use your healthstone when available, pot otherwise. 0 Share this post Link to post Share on other sites
hawksworth 0 Report post Posted July 22, 2017 Awesome, thanks dude:) 0 Share this post Link to post Share on other sites
Atreyyo 0 Report post Posted July 24, 2017 If you want to use both you could try this. Have not tested it but should work, if the api I got the info from is correct ^^ /script for bag=0,4 do local slots=GetContainerNumSlots(bag) for slot=1,slots do if GetContainerItemInfo(bag, slot) ~= nil then local _,_,_,_,_,_,string=GetContainerItemInfo(bag, slot); if string.find(string,"Healthstone") and (UnitHealthMax("player")-UnitHealth("player") > 1000) then UseContainerItem(bag,slot); end if string.find(string,"Healing Potion") and (UnitHealthMax("player")-UnitHealth("player") > 1000) then UseContainerItem(bag,slot); end end end end Edit: Saw you already had one like this, but I added a hp check so it wont use it unless it can heal atleast 1k hp. 0 Share this post Link to post Share on other sites
WobLight 5 Report post Posted July 24, 2017 it's over 450 chars... 0 Share this post Link to post Share on other sites
Atreyyo 0 Report post Posted July 24, 2017 48 minutes ago, WobLight said: it's over 450 chars... Might be possibly to slim it down. Else there's always supermacro <3 0 Share this post Link to post Share on other sites