1package com.runehive.game.world.entity.combat.strategy.npc.boss.scorpia;
3import com.runehive.game.world.entity.combat.attack.FightType;
4import com.runehive.game.world.entity.combat.hit.Hit;
5import com.runehive.game.world.entity.combat.projectile.CombatProjectile;
6import com.runehive.game.world.entity.combat.strategy.npc.NpcRangedStrategy;
7import com.runehive.game.world.entity.mob.Mob;
8import com.runehive.game.world.entity.mob.npc.Npc;
9import com.runehive.game.world.entity.skill.Skill;
19 super.hit(attacker, defender,
hit);
20 if (
hit.getDamage() > 0) {
A Hit object holds the damage amount and hitsplat data.
static CombatProjectile getDefinition(String name)
NpcRangedStrategy(CombatProjectile combatProjectile)
int getAttackDistance(Npc attacker, FightType fightType)
void hit(Npc attacker, Mob defender, Hit hit)
final SkillManager skills
Represents a non-player character in the in-game world.
Represents a trainable and usable skill.
static final int PRAYER
The prayer skill id.
void removeLevel(int amount)
Removes levels from this skill by the given amount.
Skill get(int id)
Gets the skill for an id.
void refresh()
Refreshes all the skills for the mob.
The enumerated type whose elements represent the fighting types.