1package com.runehive.game.world.entity.combat.strategy.player.special.melee;
3import com.runehive.game.Animation;
4import com.runehive.game.UpdatePriority;
5import com.runehive.game.world.entity.combat.attack.FightType;
6import com.runehive.game.world.entity.combat.hit.Hit;
7import com.runehive.game.world.entity.combat.strategy.player.PlayerMeleeStrategy;
8import com.runehive.game.world.entity.mob.Mob;
9import com.runehive.game.world.entity.mob.player.Player;
19 super.start(attacker, defender, hits);
24 super.hitsplat(attacker, defender,
hit);
Class that models a single animation used by an entity.
A Hit object holds the damage amount and hitsplat data.
void hit(Player attacker, Mob defender, Hit hit)
int getAttackDelay(Player attacker, Mob defender, FightType fightType)
void start(Player attacker, Mob defender, Hit[] hits)
static final VestaLongsword INSTANCE
int modifyAccuracy(Player attacker, Mob defender, int roll)
static final Animation ANIMATION
void onKill(Player attacker, Mob defender, Hit hit)
Animation getAttackAnimation(Player attacker, Mob defender)
int modifyDamage(Player attacker, Mob defender, int damage)
void hitsplat(Player attacker, Mob defender, Hit hit)
This class represents a character controlled by a player.
Represents different priorities for updating.
The enumerated type whose elements represent the fighting types.