54 BRONZE(1351, 1, 879, 0.1),
55 IRON(1349, 1, 877, 0.2),
56 STEEL(1353, 6, 875, 0.3),
57 BLACK(1361, 6, 873, 0.4),
58 MITHRIL(1355, 21, 871, 0.5),
59 ADAMANT(1357, 31, 869, 0.6),
60 RUNE(1359, 41, 867, 0.75),
61 THIRD_AGE(20011, 90, 7264, 0.80),
62 DRAGON(6739, 61, 2846, 0.85),
63 INFERNAL(13241, 61, 2117, 0.85);
68 private static final ImmutableSet<AxeData> VALUES = ImmutableSortedSet.copyOf(values()).descendingSet();
112 if (player.equipment.hasWeapon()) {
113 Optional<AxeData> result = VALUES.stream().filter(it -> player.equipment.contains(it.id) && player.skills.
getLevel(
Skill.
WOODCUTTING) >= it.level).findFirst();
115 if (result.isPresent()) {
static Optional< AxeData > getDefinition(Player player)
AxeData(int id, int level, int animation, double speed)