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.hit.CombatHit;
7import com.runehive.game.world.entity.combat.projectile.CombatProjectile;
8import com.runehive.game.world.entity.combat.strategy.player.PlayerRangedStrategy;
9import com.runehive.game.world.entity.mob.Mob;
10import com.runehive.game.world.entity.mob.player.Player;
27 }
catch (Exception e) {
48 return roll - roll / 4;
53 throw new NullPointerException(
"No Craw's bow projectile found.");
Class that models a single animation used by an entity.
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)
int modifyAccuracy(Player attacker, Mob defender, int roll)
static final CrawsBow INSTANCE
static final Animation ANIMATION
static void setProjectiles(CombatProjectile projectile)
CombatHit[] getHits(Player attacker, Mob defender)
static Projectile PROJECTILE_1
void animate(int animation)
This class represents a character controlled by a player.
Represents different priorities for updating.