1package com.runehive.game.world.entity.combat.maxhit;
3import com.runehive.game.world.entity.combat.CombatType;
4import com.runehive.game.world.entity.combat.FormulaUtils;
5import com.runehive.game.world.entity.combat.attack.FightStyle;
6import com.runehive.game.world.entity.mob.Mob;
7import com.runehive.game.world.entity.mob.player.Player;
8import com.runehive.game.world.entity.mob.prayer.Prayer;
9import com.runehive.game.world.entity.skill.Skill;
10import com.runehive.game.world.items.containers.equipment.Equipment;
31 double prayerBonus = 1;
51 double otherBonus = 1.0;
71 if (((
Player) player).equipment.contains(23971) && ((
Player) player).equipment.contains(25865)) {
75 if (((
Player) player).equipment.contains(23975) && ((
Player) player).equipment.contains(25865)) {
79 if (((
Player) player).equipment.contains(23979) && ((
Player) player).equipment.contains(25865)) {
static double getBaseDamage(Mob player)
static int getRangedlevel(Mob player)
static double getPrayerBonus(Mob player)
static double getOtherBonus(Mob player)
static int maxHit(Mob player)
static double getEffectiveRanged(Mob player)
static int getStyleBonus(Mob player)
abstract< T extends Mob > CombatStrategy<? super T > getStrategy()
The combat strategy of the mob.
final SkillManager skills
abstract Combat<? extends Mob > getCombat()
The combat of the mob.
final boolean isNpc()
Check if an entity is an npc.
This class represents a character controlled by a player.
boolean isActive(Prayer... prayers)
Checks if all given prayers are active.
Represents a trainable and usable skill.
static final int RANGED
The ranged skill id.
int getLevel(int id)
Gets the level of a skill.
The container that manages the equipment for a player.
static final int RANGED_STRENGTH
The enumerated type whose elements represent the fighting styles.