RuneHive-Game
Loading...
Searching...
No Matches
MainMeleePreload.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 basic melee equipment preload.
10
*
11
* @author Daniel
12
*/
13
public
class
MainMeleePreload
implements
Preload
{
14
15
@Override
16
public
String
title
() {
17
return
"<icon=23> Main Melee"
;
18
}
19
20
@Override
21
public
Spellbook
spellbook
() {
22
return
Spellbook
.
LUNAR
;
23
}
24
25
@Override
26
public
Item
[]
equipment
() {
27
return
new
Item
[]{
28
/* HELM_SLOT */
new
Item
(10828),
// HELM OF NEITZ
29
/* CAPE_SLOT */
new
Item
(
PreloadRepository
.
CAPE
),
// CAPE
30
/* AMULET_SLOT */
new
Item
(1725),
// AMULET OF STRENGTH
31
/* WEAPON_SLOT */
new
Item
(4587),
// DRAGON SCIMITAR
32
/* CHEST_SLOT */
new
Item
(1127),
// RUNE_PLATEBODY
33
/* SHIELD_SLOT */
new
Item
(8850),
// RUNE DEFENDER
34
/* LEGS_SLOT */
new
Item
(1079),
// RUNE PLATELEGS
35
/* HANDS_SLOT */
new
Item
(7461),
// DRAGON GLOVES
36
/* FEET_SLOT */
new
Item
(3105),
// CLIMBING BOOTS
37
/* RING_SLOT */
new
Item
(2550),
// RING OF RECOIL
38
/* ARROWS_SLOT */
null
39
};
40
}
41
42
@Override
43
public
Item
[]
inventory
() {
44
return
new
Item
[]{
45
new
Item
(5698),
// DRAGON DAGGER(P++)
46
new
Item
(385),
// SHARK
47
new
Item
(385),
// SHARK
48
new
Item
(3144),
// COOKED KARAMBWAN
49
new
Item
(385),
// SHARK
50
new
Item
(385),
// SHARK
51
new
Item
(385),
// SHARK
52
new
Item
(3144),
// COOKED KARAMBWAN
53
new
Item
(385),
// SHARK
54
new
Item
(385),
// SHARK
55
new
Item
(385),
// SHARK
56
new
Item
(3144),
// COOKED KARAMBWAN
57
new
Item
(385),
// SHARK
58
new
Item
(385),
// SHARK
59
new
Item
(385),
// SHARK
60
new
Item
(3144),
// COOKED KARAMBWAN
61
new
Item
(6685),
// SARADOMIN BREW(4)
62
new
Item
(385),
// SHARK
63
new
Item
(385),
// SHARK
64
new
Item
(3144),
// COOKED KARAMBWAN
65
new
Item
(3024),
// SUPER RESTORE(4)
66
new
Item
(3024),
// SUPER RESTORE(4)
67
new
Item
(2440),
// SUPER STRENGTH(4)
68
new
Item
(2442),
// SUPER DEFENCE(4)
69
new
Item
(560, 500),
// DEATH RUNE
70
new
Item
(9075, 500),
// ASTRAL RUNE
71
new
Item
(557, 1000),
// EARTH RUNE
72
new
Item
(2436),
// SUPER ATTACK(4)
73
};
74
}
75
76
@Override
77
public
int
[]
skills
() {
78
return
new
int
[]{
79
99,
// ATTACK
80
99,
// DEFENCE
81
99,
// STRENGTH
82
99,
// HITPOINTS
83
99,
// RANGED
84
99,
// PRAYER
85
99,
// MAGIC
86
};
87
}
88
}
com.runehive.content.preloads.PreloadRepository
The preload repository.
Definition
PreloadRepository.java:13
com.runehive.content.preloads.PreloadRepository.CAPE
static final int CAPE
The indexes of all random preloads.
Definition
PreloadRepository.java:20
com.runehive.content.preloads.impl.MainMeleePreload
Handles a basic melee equipment preload.
Definition
MainMeleePreload.java:13
com.runehive.content.preloads.impl.MainMeleePreload.equipment
Item[] equipment()
Definition
MainMeleePreload.java:26
com.runehive.content.preloads.impl.MainMeleePreload.title
String title()
Definition
MainMeleePreload.java:16
com.runehive.content.preloads.impl.MainMeleePreload.spellbook
Spellbook spellbook()
Definition
MainMeleePreload.java:21
com.runehive.content.preloads.impl.MainMeleePreload.inventory
Item[] inventory()
Definition
MainMeleePreload.java:43
com.runehive.content.preloads.impl.MainMeleePreload.skills
int[] skills()
Definition
MainMeleePreload.java:77
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.LUNAR
LUNAR
Definition
Spellbook.java:11
com.runehive.content.preloads.Preload
Definition
Preload.java:7