public class Get_Helmet_Utils
extends java.lang.Object
Constructor and Description |
---|
Get_Helmet_Utils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
buyHelmet(ItemId helmet)
Buys a large helmet from Barbarian Village's shop
|
static ItemId |
getBestHelmet()
Gets the best helmet to use based on the player's defense level and bank content May return an
item that's not in the bank, in which case the bot needs to buy it
|
static int |
getCost(ItemId helmet) |
public static boolean buyHelmet(ItemId helmet)
helmet
- public static int getCost(ItemId helmet)
public static ItemId getBestHelmet()
java.lang.IllegalStateException
- if the player is not currently accessing a bank, ensuring bank
interaction is a prerequisite for helmet selection.