|
RuneHive-Game
|
Static Public Member Functions | |
| static boolean | isBones (int item) |
| static boolean | isHerbloreItem (int item) |
| static boolean | isSkillingItem (int item) |
| static boolean | isSuccess (int skill, int levelRequired) |
| static boolean | isSuccess (Player p, int skill, int levelRequired, int toolLevelRequired) |
| static boolean | isSuccess (Player p, int skillId, int levelRequired, boolean usingDragonHarpoon) |
| static void | load () |
| Loads all the skilling data. | |
| static void | spawn () |
| Spawns all the skilling npcs. | |
Static Public Attributes | |
| static final int[][] | IMPLINGS |
Static Private Member Functions | |
| static void | declareItems () |
Static Private Attributes | |
| static final List< Integer > | BONE_ITEMS = new ArrayList<>() |
| static final List< Integer > | ESSENCE_ITEMS = new ArrayList<>() |
| static final List< Integer > | HERBLORE_ITEMS = new ArrayList<>() |
| static final Position[] | HUNTER_SPAWN_POSITION |
| Holds all the impling onSpawn locations. | |
| static final List< Integer > | SKILLING_ITEMS = new ArrayList<>() |
Definition at line 28 of file SkillRepository.java.
|
staticprivate |
Definition at line 88 of file SkillRepository.java.
References BONE_ITEMS, HERBLORE_ITEMS, and SKILLING_ITEMS.
Referenced by load().
|
static |
Definition at line 124 of file SkillRepository.java.
References BONE_ITEMS.
|
static |
Definition at line 116 of file SkillRepository.java.
References SKILLING_ITEMS.
|
static |
Definition at line 109 of file SkillRepository.java.
References SKILLING_ITEMS.
|
static |
Definition at line 133 of file SkillRepository.java.
References com.runehive.util.Utility.random().
Referenced by com.runehive.content.skill.impl.fishing.Fishing.success(), com.runehive.content.skill.impl.mining.Mining.success(), and com.runehive.content.skill.impl.woodcutting.Woodcutting.success().
|
static |
Definition at line 146 of file SkillRepository.java.
References com.runehive.game.world.entity.skill.SkillManager.getMaxLevel(), com.runehive.util.Utility.random(), and com.runehive.game.world.entity.mob.Mob.skills.
|
static |
Definition at line 139 of file SkillRepository.java.
References com.runehive.game.world.entity.skill.SkillManager.getMaxLevel(), com.runehive.util.Utility.random(), and com.runehive.game.world.entity.mob.Mob.skills.
|
static |
Loads all the skilling data.
Definition at line 70 of file SkillRepository.java.
References com.runehive.content.skill.impl.agility.Agility.declare(), com.runehive.content.skill.impl.fishing.Fishable.declare(), com.runehive.content.skill.impl.fishing.FishingSpot.declare(), com.runehive.content.skill.impl.fishing.FishingTool.declare(), declareItems(), com.runehive.content.skill.impl.crafting.impl.Gem.load(), com.runehive.content.skill.impl.crafting.impl.Hide.load(), com.runehive.content.skill.impl.fletching.impl.Arrow.load(), com.runehive.content.skill.impl.fletching.impl.Battlestaff.load(), com.runehive.content.skill.impl.fletching.impl.Bolt.load(), com.runehive.content.skill.impl.fletching.impl.Carvable.load(), com.runehive.content.skill.impl.fletching.impl.Crossbow.load(), com.runehive.content.skill.impl.fletching.impl.Featherable.load(), com.runehive.content.skill.impl.fletching.impl.Stringable.load(), and spawn().
Referenced by com.runehive.RuneHive.processParallelStartupTasks().
|
static |
Spawns all the skilling npcs.
Definition at line 49 of file SkillRepository.java.
References com.runehive.game.world.entity.Entity.DEFAULT_INSTANCE, HUNTER_SPAWN_POSITION, IMPLINGS, com.runehive.game.world.entity.mob.Direction.NORTH, com.runehive.Config.NPC_WALKING_RADIUS, com.runehive.util.Utility.randomElement(), com.runehive.game.world.entity.mob.npc.Npc.register(), and com.runehive.util.RandomUtils.success().
Referenced by load().
|
staticprivate |
Definition at line 32 of file SkillRepository.java.
Referenced by declareItems(), and isBones().
|
staticprivate |
Definition at line 34 of file SkillRepository.java.
|
staticprivate |
Definition at line 31 of file SkillRepository.java.
Referenced by declareItems().
|
staticprivate |
Holds all the impling onSpawn locations.
Definition at line 38 of file SkillRepository.java.
Referenced by spawn().
|
static |
Definition at line 153 of file SkillRepository.java.
Referenced by spawn().
|
staticprivate |
Definition at line 30 of file SkillRepository.java.
Referenced by declareItems(), isHerbloreItem(), and isSkillingItem().