Quote:
Originally Posted by agua2o
You are awesome. Now I need to check for the bot's HP, would this IF do it?
Code:
_IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<65;
#EXECUTE=HPPotions;
#ENDIF
|
No I don't think you understood what
_ACPotions does, like all other
_AC commands it does just declare rules for the AutoCombat system, this means
_ACPotions will never actively use a potion when you execute the line,
_ACCheckMob=; will use the declared potion during combat
If you want to use the potion with a certain line you need
Code:
UseID=ItemID;
Delay=450;
Your HP check line is correct