1package com.runehive.game.world.entity.combat.maxhit;
3import com.runehive.game.world.entity.combat.attack.FightStyle;
4import com.runehive.game.world.entity.mob.Mob;
5import com.runehive.game.world.entity.mob.prayer.Prayer;
6import com.runehive.game.world.entity.skill.Skill;
31 return (
int) Math.floor(
maxHit);
51 double prayerBonus = 1;
84 double otherBonus = 1;
static double slayerPerkBonus(Mob player)
static int getEffectiveStrength(Mob player)
static int getStyleBonus(Mob player)
static int getBaseDamage(Mob player)
static double getOtherBonus(Mob player, boolean includeNpcMax)
static double getPrayerBonus(Mob player)
static int getStrengthBonus(Mob player)
static int getStrengthLevel(Mob player)
static int maxHit(Mob player)
final SkillManager skills
abstract Combat<? extends Mob > getCombat()
The combat of the mob.
boolean isActive(Prayer... prayers)
Checks if all given prayers are active.
Represents a trainable and usable skill.
static final int STRENGTH
The strength skill id.
int getLevel(int id)
Gets the level of a skill.
The enumerated type whose elements represent the fighting styles.