1package com.runehive.game.world.entity.combat.attack.listener.item;
3import com.runehive.net.packet.out.SendMessage;
4import com.runehive.game.Graphic;
5import com.runehive.game.UpdatePriority;
6import com.runehive.game.world.entity.combat.attack.listener.ItemCombatListenerSignature;
7import com.runehive.game.world.entity.combat.attack.listener.NpcCombatListenerSignature;
8import com.runehive.game.world.entity.combat.attack.listener.SimplifiedListener;
9import com.runehive.game.world.entity.combat.hit.Hit;
10import com.runehive.game.world.entity.mob.Mob;
11import com.runehive.game.world.entity.mob.player.Player;
12import com.runehive.game.world.entity.skill.Skill;
13import com.runehive.util.Utility;
Represents a single graphic that can be used by entities.
abstract String getName()
Gets the name of this entity.
Handles the Ahrim's armor effects to the assigned npc and item ids.
void hit(Mob attacker, Mob defender, Hit hit)
A Hit object holds the damage amount and hitsplat data.
final SkillManager skills
final boolean isPlayer()
Check if an entity is a player.
Optional< Graphic > graphic
This class represents a character controlled by a player.
void send(OutgoingPacket encoder)
Represents a trainable and usable skill.
static final int STRENGTH
The strength skill id.
int getLevel(int id)
Gets the level of a skill.
void setLevel(int id, int level)
Sets the level of a skill.
The OutgoingPacket that sends a message to a Players chatbox in the client.
Handles miscellaneous methods.
static int random(int bound)
Represents different priorities for updating.
VERY_HIGH
A very high priority.