1package com.runehive.util.parser.old.defs;
3import com.runehive.Config;
4import com.runehive.game.world.entity.combat.ranged.RangedWeaponDefinition;
6import java.util.Optional;
17 private final int run;
63 return name.endsWith(
"p)") ||
name.endsWith(
"p+)") ||
name.endsWith(
"p++)");
67 return name.endsWith(
"p)") ? 2 :
name.endsWith(
"p+)") ? 4 :
name.endsWith(
"p++)") ? 6 : 2;
The class that contains setting-related constants for the server.
static final int ITEM_DEFINITION_LIMIT
The limit of the item identification.
static int poisonStrength(String name)
static final WeaponDefinition[] DEFINITIONS
static boolean isPoisonous(String name)
Optional< RangedWeaponDefinition > getRangedDefinition()
WeaponDefinition(int item, String name, boolean twoHanded, String weaponType, RangedWeaponDefinition rangedDefinition, int stand, int walk, int run)
final RangedWeaponDefinition rangedDefinition