Enum Constant and Description |
---|
EQUIP_T1
First tier for equipment items "Lesser", with a multiplier of 2.
|
EQUIP_T2
Second tier for equipment items "Greater", with a multiplier of 3.
|
EQUIP_T3
Third tier for equipment items "Angelic", with a multiplier of 5.
|
EQUIP_T4
Fourth tier for equipment items "Mythic", with a multiplier of 8.
|
EQUIP_T5
Fifth tier for equipment items "Divine", with a multiplier of 13.
|
EQUIP_T6
Highest tier for equipment items "Eternal", with a multiplier of 21.
|
RUNE_T1
First tier for rune items "Lesser", with a multiplier of 6.
|
RUNE_T2
Second tier for rune items "Greater", with a multiplier of 9.
|
RUNE_T3
Third tier for rune items "Angelic", with a multiplier of 12.
|
Modifier and Type | Field and Description |
---|---|
private int |
tierLevel
The level of the tier.
|
private double |
tierMultiplier
The multiplier of the tier.
|
private java.lang.String |
tierName
The name of the tier.
|
Modifier and Type | Method and Description |
---|---|
static Tier |
getEquipmentTier(java.lang.String itemName)
Determines a tier, based on an item name, with a multiplier of 2 to 21 on a scale of T1 to T6.
|
int |
getLevel() |
double |
getMultiplier() |
java.lang.String |
getName() |
static Tier |
getRuneTier(java.lang.String itemName)
Determines a tier, based on an item name, with a multiplier of 6, 9 or 12 on a scale of T1 to T3.
|
static Tier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Tier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tier EQUIP_T1
public static final Tier EQUIP_T2
public static final Tier EQUIP_T3
public static final Tier EQUIP_T4
public static final Tier EQUIP_T5
public static final Tier EQUIP_T6
public static final Tier RUNE_T1
public static final Tier RUNE_T2
public static final Tier RUNE_T3
private final java.lang.String tierName
private final int tierLevel
private final double tierMultiplier
public static Tier[] values()
for (Tier c : Tier.values()) System.out.println(c);
public static Tier valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Tier getEquipmentTier(java.lang.String itemName)
itemName
- The name of the equipment item.public static Tier getRuneTier(java.lang.String itemName)
itemName
- The name of the rune item.public java.lang.String getName()
public int getLevel()
public double getMultiplier()