1package com.runehive.game.world.entity.combat.strategy.player.special.range;
3import com.runehive.game.Animation;
4import com.runehive.game.Projectile;
5import com.runehive.game.UpdatePriority;
6import com.runehive.game.world.entity.combat.accuracy.RangeAccuracy;
7import com.runehive.game.world.entity.combat.hit.CombatHit;
8import com.runehive.game.world.entity.combat.projectile.CombatProjectile;
9import com.runehive.game.world.entity.combat.strategy.player.PlayerRangedStrategy;
10import com.runehive.game.world.entity.mob.Mob;
11import com.runehive.game.world.entity.mob.player.Player;
28 }
catch (Exception e) {
58 throw new NullPointerException(
"No Magic Shortbow projectile found.");
Class that models a single animation used by an entity.
static double getAttackRoll(Mob attacker)
A wrapper for a Hit object, adding additional variables for hit and hitsplat delays.
static CombatProjectile getDefinition(String name)
final CombatHit nextRangedHit(T attacker, Mob defender)
void sendStuff(Player attacker, Mob defender)
CombatHit[] getHits(Player attacker, Mob defender)
static void setProjectiles(CombatProjectile projectile)
static final Animation ANIMATION
static Projectile PROJECTILE
static final ZaryteCrossbow INSTANCE
int modifyAccuracy(Player attacker, Mob defender, int roll)
void animate(int animation)
This class represents a character controlled by a player.
Represents different priorities for updating.