- Joined
- May 24, 2016
- Messages
- 1,113
- Thread Author
- #1
Tested by having a bot drink prayer potions using this line of code:
where pot is a SpriteItem.
If I start the bot without a target/combat stance, the bot will drink the potion. As soon as it enters combat however, it won't. If using 'pot.click();' instead, it will click at the top left side of the screen for some reason, and my inventory is at the opposite side of the screen. If I pause the bot and have my character leave combat stance, it drinks the potion again.
@Aidden @Party was told to tag you guys.
Code:
pot.interact("Drink");
where pot is a SpriteItem.
If I start the bot without a target/combat stance, the bot will drink the potion. As soon as it enters combat however, it won't. If using 'pot.click();' instead, it will click at the top left side of the screen for some reason, and my inventory is at the opposite side of the screen. If I pause the bot and have my character leave combat stance, it drinks the potion again.
@Aidden @Party was told to tag you guys.
Last edited: