1package com.runehive.content.wintertodt.actions;
3import com.runehive.content.wintertodt.Brazier;
4import com.runehive.content.wintertodt.Wintertodt;
5import com.runehive.game.action.Action;
6import com.runehive.game.action.policy.WalkablePolicy;
7import com.runehive.game.world.entity.mob.player.Player;
8import com.runehive.game.world.entity.skill.Skill;
31 if(
brazier.getBrazierState() != 2) {
32 System.out.println(
"???????????");
34 brazier.getObject().unregister();
42 getMob().action.getCurrentAction().cancel();
static void addPoints(Player player, int amount)
Handles adding wintertodt points to a player.
static final int EMPTY_BRAZIER_ID
WalkablePolicy getWalkablePolicy()
Gets the WalkablePolicy of this action.
FixBrazier(Player player, Brazier brazier)
void execute()
A function representing the unit of work that will be carried out.
String getName()
Gets the name of this action.
T getMob()
Gets the player.
Action(T mob, int delay, boolean instant)
Creates a new Action randomevent.
This class represents a character controlled by a player.
Represents a trainable and usable skill.
static final byte getLevelForExperience(double experience)
Gets the level for a given experience amount.
static final int CONSTRUCTION
The construction skill id.
A queue policy determines whether the action can occur while walking.
NON_WALKABLE
This indicates actions cannot occur while walking.