forked from MagicBane/Server
File reformat
This commit is contained in:
@@ -156,12 +156,11 @@ public class Enum {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static final HashMap<Integer, RaceType> _raceTypeByID = new HashMap<>();
|
||||
|
||||
int runeID;
|
||||
private final MonsterType monsterType;
|
||||
private final CharacterSex characterSex;
|
||||
private final RunSpeed runSpeed;
|
||||
private final float scaleHeight;
|
||||
int runeID;
|
||||
|
||||
RaceType(int runeID, MonsterType aggroType, RunSpeed runspeed, CharacterSex characterSex, float scaleHeight) {
|
||||
this.runeID = runeID;
|
||||
@@ -615,8 +614,7 @@ public class Enum {
|
||||
BEDROLL(26),
|
||||
FARMABLE(27),
|
||||
WATERBUCKET(30),
|
||||
GIFT(31),
|
||||
;
|
||||
GIFT(31);
|
||||
|
||||
private final static HashMap<Integer, ItemType> _typeLookup = new HashMap<>();
|
||||
private final int _value;
|
||||
@@ -1456,9 +1454,9 @@ public class Enum {
|
||||
Necromancy((1L << 62), -556571154, 10),
|
||||
SunDancing((1L << 63), 22329752, 20);
|
||||
|
||||
private final int reqLvl;
|
||||
private long flag;
|
||||
private int token;
|
||||
private final int reqLvl;
|
||||
|
||||
CharacterSkills(long flag, int token, int reqLvl) {
|
||||
this.flag = flag;
|
||||
@@ -2793,7 +2791,7 @@ public class Enum {
|
||||
return leadershipTypes[i];
|
||||
}
|
||||
|
||||
public boolean canJoin(AbstractCharacter character){
|
||||
public boolean canJoin(AbstractCharacter character) {
|
||||
return this.requiredRaces.contains(character.absRace) && this.requiredClasses.contains(character.absPromotionClass) && this.sexRequired.contains(character.absGender);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user