RuneHive-Game
Loading...
Searching...
No Matches
PoisonType.java
Go to the documentation of this file.
1package com.runehive.game.world.entity.combat;
2
3/**
4 * The enumerated type whose elements represent the different levels of poison.
5 * @author lare96 <http://github.com/lare96>
6 */
7public enum PoisonType {
8
9 /**
10 * The default poison type for magic spells.
11 */
13
14 /**
15 * The default poison type for ranged ammunition.
16 */
18
19 /**
20 * The stronger poison type for ranged ammunition.
21 */
23
24 /**
25 * The strongest poison type for magic spells.
26 */
28
29 /**
30 * The strongest poison type for ranged ammunition.
31 */
33
34 /**
35 * The default poison type for melee weapons.
36 */
38
39 /**
40 * The stronger poison type for melee weapons.
41 */
43
44 /**
45 * The strongest poison type for melee weapons.
46 */
48
49 /**
50 * The default poison type for poisonous NPCs.
51 */
53
54 /**
55 * The default poison type for poisonous NPCs.
56 */
58
59 /**
60 * The stronger poison type for poisonous NPCs.
61 */
63
64 /**
65 * The strongest poison type for poisonous NPCs.
66 */
68
69 /** self explanatory maybe??? */
71
72 /**
73 * The starting damage for this poison type.
74 */
75 private final int damage;
76
77 /**
78 * Creates a new {@link PoisonType}.
79 * @param damage the starting damage for this poison type.
80 */
82 this.damage = damage;
83 }
84
85 /**
86 * Gets the starting damage for this poison type.
87 * @return the starting damage.
88 */
89 public final int getDamage() {
90 return damage;
91 }
92}
SUPER_NPC
The strongest poison type for poisonous NPCs.
STRONG_MELEE
The stronger poison type for melee weapons.
final int damage
The starting damage for this poison type.
SUPER_RANGED
The strongest poison type for ranged ammunition.
DEFAULT_MELEE
The default poison type for melee weapons.
STRONG_RANGED
The stronger poison type for ranged ammunition.
SUPER_MELEE
The strongest poison type for melee weapons.
WEAK_NPC
The default poison type for poisonous NPCs.
STRONG_NPC
The stronger poison type for poisonous NPCs.
DEFAULT_MAGIC
The default poison type for magic spells.
final int getDamage()
Gets the starting damage for this poison type.
DEFAULT_NPC
The default poison type for poisonous NPCs.
PoisonType(int damage)
Creates a new PoisonType.
SUPER_MAGIC
The strongest poison type for magic spells.
DEFAULT_RANGED
The default poison type for ranged ammunition.