1package com.runehive.content.bot.objective.impl;
3import com.runehive.content.bot.BotUtility;
4import com.runehive.content.bot.PlayerBot;
5import com.runehive.content.bot.botclass.BotClass;
6import com.runehive.content.bot.botclass.impl.*;
7import com.runehive.content.bot.objective.BotObjective;
8import com.runehive.content.bot.objective.BotObjectiveListener;
9import com.runehive.content.consume.FoodData;
10import com.runehive.content.consume.PotionData;
11import com.runehive.game.world.entity.combat.strategy.player.special.CombatSpecial;
12import com.runehive.game.world.items.Item;
13import com.runehive.util.RandomUtils;
14import com.runehive.util.Utility;
16import java.util.Optional;
31 if (
bot.botClass ==
null)
34 Item[] inventory =
bot.botClass.inventory();
35 bot.inventory.set(inventory);
36 bot.equipment.manualWearAll(
bot.botClass.equipment());
38 for (
Item item : inventory) {
39 if (item ==
null)
continue;
47 bot.statBoostersRemaining++;
50 int[] skills =
bot.botClass.skills();
54 bot.skills.setCombatLevel();
Holds all the constants used by bot.
static final String[] GEAR_UP_MESSAGES
Array of all the possible fight start message.
static final BotClass[] TYPES
The positions of all the bank locations for the bot to access.
void finish(PlayerBot bot)
The container class that represents an item that can be interacted with.
A static-util class that provides additional functionality for generating pseudo-random numbers.
static< T > T random(T[] array)
Pseudo-randomly retrieves a element from array.
Handles miscellaneous methods.
static< T > T randomElement(Collection< T > collection)
Picks a random element out of any array type.
static Optional< FoodData > forId(int id)
Gets the food data based on the item identification.
The enumerated type managing consumable potion types.
static Optional< PotionData > forId(int id)
Retrieves the potion consumable element for id.
The enumerated type whose elements represent the combat special attacks.
static void restore(Player player, int amount)
Restores the special bar for player.