1package com.runehive.game.world.entity.combat.attack.listener.item;
3import com.runehive.game.world.entity.combat.attack.listener.ItemCombatListenerSignature;
4import com.runehive.game.world.entity.combat.attack.listener.SimplifiedListener;
5import com.runehive.game.world.entity.mob.Mob;
6import com.runehive.game.world.entity.mob.player.Player;
7import com.runehive.game.world.entity.skill.Skill;
19 if (level > 360) level = 360;
20 int a = (3 * level) / 10 - 100;
21 int mod = 140 + (3 * level - 10) / 100 - (a * a) / 100;
22 if (mod > 140) mod = 140;
23 return roll * mod / 100;
29 if (level > 360) level = 360;
30 int a = (3 * level) / 10 - 140;
31 int mod = 250 + (3 * level - 14) / 100 - (a * a) / 100;
32 if (mod > 250) mod = 250;
33 return roll * mod / 100;
Handles the twisted bow modifiers.
int modifyAccuracy(Player attacker, Mob defender, int roll)
int modifyDamage(Player attacker, Mob defender, int roll)
final SkillManager skills
This class represents a character controlled by a player.
Represents a trainable and usable skill.
static final int MAGIC
The magic skill id.
int getMaxLevel(int id)
Gets the highest possible level of a skill.