RuneHive-Game
Loading...
Searching...
No Matches
MainNHPreload.java
Go to the documentation of this file.
1
package
com.runehive.content.preloads.impl;
2
3
import
com.runehive.content.preloads.Preload;
4
import
com.runehive.content.preloads.PreloadRepository;
5
import
com.runehive.content.skill.impl.magic.Spellbook;
6
import
com.runehive.game.world.items.Item;
7
8
/**
9
* Handles a main nh equipment preload.
10
*
11
* @author Daniel
12
*/
13
public
class
MainNHPreload
implements
Preload
{
14
@Override
15
public
String
title
() {
16
return
"<icon=22> Main NH"
;
17
}
18
19
@Override
20
public
Spellbook
spellbook
() {
21
return
Spellbook
.
ANCIENT
;
22
}
23
24
@Override
25
public
Item
[]
equipment
() {
26
return
new
Item
[]{
27
/* HELM_SLOT */
new
Item
(10828),
// HELM OF NIET
28
/* CAPE_SLOT */
new
Item
(
PreloadRepository
.
GOD_CAPE
),
// SARA CAPE
29
/* AMULET_SLOT */
new
Item
(1704),
// AMULET OF GLORY
30
/* WEAPON_SLOT */
new
Item
(4675),
// ANCIENT STAFF
31
/* CHEST_SLOT */
new
Item
(
PreloadRepository
.
MYSTIC_TOP
),
// MYSTIC ROBE TOP
32
/* SHIELD_SLOT */
new
Item
(
PreloadRepository
.
GOD_BOOK
),
// Unholy BOOK
33
/* LEGS_SLOT */
new
Item
(
PreloadRepository
.
MYSTIC_BOTTOM
),
// MYSTIC ROBE BOTTOM
34
/* HANDS_SLOT */
new
Item
(7461),
// Dragon GLOVES
35
/* FEET_SLOT */
new
Item
(3105),
// CLIMBING BOOTS
36
/* RING_SLOT */
new
Item
(2550),
// RING OF RECOIL
37
/* ARROWS_SLOT */
new
Item
(9244, 100),
// DRAGONSTONE BOLTS (E)
38
};
39
}
40
41
@Override
42
public
Item
[]
inventory
() {
43
return
new
Item
[]{
44
new
Item
(9185),
// RUNE CROSSBOW
45
new
Item
(1201),
// RUNE KITESHIELD
46
new
Item
(4587),
// DRAGON SCIMITAR
47
new
Item
(6685),
// SARADOMIN BREW(4)
48
new
Item
(10499),
// AVA'S ACCUMULATOR
49
new
Item
(2503),
// BLACK D'HIDE BODY
50
new
Item
(5698),
// DRAGON DAGGER(P++)
51
new
Item
(6685),
// SARADOMIN BREW(4)
52
new
Item
(391),
// MANTA RAY
53
new
Item
(1079),
// RUNE PLATELEGS
54
new
Item
(3024),
// SUPER RESTORE(4)
55
new
Item
(3024),
// SUPER RESTORE(4)
56
new
Item
(391),
// MANTA RAY
57
new
Item
(391),
// MANTA RAY
58
new
Item
(391),
// MANTA RAY
59
new
Item
(2436),
// SUPER ATTACK(4)
60
new
Item
(391),
// MANTA RAY
61
new
Item
(391),
// MANTA RAY
62
new
Item
(391),
// MANTA RAY
63
new
Item
(2440),
// SUPER STRENGTH(4)
64
new
Item
(391),
// MANTA RAY
65
new
Item
(391),
// MANTA RAY
66
new
Item
(391),
// MANTA RAY
67
new
Item
(2444),
// RANGING POTION(4)
68
new
Item
(391),
// MANTA RAY
69
new
Item
(565, 1000),
// BLOOD RUNE
70
new
Item
(555, 1000),
// WATER RUNE
71
new
Item
(560, 1000),
// DEATH RUNE
72
};
73
}
74
75
@Override
76
public
int
[]
skills
() {
77
return
new
int
[]{
78
99,
// ATTACK
79
99,
// DEFENCE
80
99,
// STRENGTH
81
99,
// HITPOINTS
82
99,
// RANGED
83
99,
// PRAYER
84
99,
// MAGIC
85
};
86
}
87
}
com.runehive.content.preloads.PreloadRepository
The preload repository.
Definition
PreloadRepository.java:13
com.runehive.content.preloads.PreloadRepository.MYSTIC_TOP
static final int MYSTIC_TOP
Definition
PreloadRepository.java:26
com.runehive.content.preloads.PreloadRepository.GOD_BOOK
static final int GOD_BOOK
Definition
PreloadRepository.java:25
com.runehive.content.preloads.PreloadRepository.GOD_CAPE
static final int GOD_CAPE
Definition
PreloadRepository.java:24
com.runehive.content.preloads.PreloadRepository.MYSTIC_BOTTOM
static final int MYSTIC_BOTTOM
Definition
PreloadRepository.java:27
com.runehive.content.preloads.impl.MainNHPreload
Handles a main nh equipment preload.
Definition
MainNHPreload.java:13
com.runehive.content.preloads.impl.MainNHPreload.skills
int[] skills()
Definition
MainNHPreload.java:76
com.runehive.content.preloads.impl.MainNHPreload.equipment
Item[] equipment()
Definition
MainNHPreload.java:25
com.runehive.content.preloads.impl.MainNHPreload.spellbook
Spellbook spellbook()
Definition
MainNHPreload.java:20
com.runehive.content.preloads.impl.MainNHPreload.title
String title()
Definition
MainNHPreload.java:15
com.runehive.content.preloads.impl.MainNHPreload.inventory
Item[] inventory()
Definition
MainNHPreload.java:42
com.runehive.game.world.items.Item
The container class that represents an item that can be interacted with.
Definition
Item.java:21
com.runehive.content.skill.impl.magic.Spellbook
The in-game spellbooks for players.
Definition
Spellbook.java:8
com.runehive.content.skill.impl.magic.Spellbook.ANCIENT
ANCIENT
Definition
Spellbook.java:10
com.runehive.content.preloads.Preload
Definition
Preload.java:7