Browse Source

Lizardman Race Added

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
132addc0a9
  1. 3
      src/engine/Enum.java
  2. 1
      src/engine/objects/PromotionClass.java
  3. 12
      src/engine/objects/Race.java

3
src/engine/Enum.java

@ -153,7 +153,8 @@ public class Enum { @@ -153,7 +153,8 @@ public class Enum {
HALFGIANTFEMALE(2027, MonsterType.HalfGiant, RunSpeed.STANDARD, CharacterSex.FEMALE, 1.15f),
VAMPMALE(2028, MonsterType.Vampire, RunSpeed.STANDARD, CharacterSex.MALE, 1),
VAMPFEMALE(2029, MonsterType.Vampire, RunSpeed.STANDARD, CharacterSex.FEMALE, 1),
SAETOR(1999, MonsterType.Monster, RunSpeed.STANDARD, CharacterSex.MALE, 0.80000001f);
SAETOR(1999, MonsterType.Minotaur, RunSpeed.MINOTAUR, CharacterSex.MALE, 0.80000001f),
LIZARDMAN(1998, MonsterType.Reptile, RunSpeed.STANDARD, CharacterSex.MALE, 1.05f);
@SuppressWarnings("unchecked")
private static HashMap<Integer, RaceType> _raceTypeByID = new HashMap<>();

1
src/engine/objects/PromotionClass.java

@ -113,6 +113,7 @@ public class PromotionClass extends AbstractGameObject { @@ -113,6 +113,7 @@ public class PromotionClass extends AbstractGameObject {
case "Wizard":
case "Necromancer":
this.allowedRunes.add(19991999);
this.allowedRunes.add(19981998);
}
}

12
src/engine/objects/Race.java

@ -163,6 +163,18 @@ public class Race { @@ -163,6 +163,18 @@ public class Race {
Race saetor = new Race(1999,"Saetor","Half goat half man, the Saetor race does the bidding of the Choas Gods.",new Vector3f(35,30,85),new Vector3f(55,50,120),new Vector3f(50,45,115),new Vector3f(45,40,110),new Vector3f(35,30,85),(byte)10,19991999,(short)0,(short)0,5.0f,(short)0,baseClassesSaetor,skillsGrantedSaetor,powersGrantedSaetor,effectsListSaetor);
Race._raceByID.put(1999,saetor);
//create Lizardman race
ArrayList<BaseClass> baseClassesLizardman = new ArrayList<>();
baseClassesLizardman.add(BaseClass.getBaseClass(2500));
baseClassesLizardman.add(BaseClass.getBaseClass(2501));
baseClassesLizardman.add(BaseClass.getBaseClass(2502));
baseClassesLizardman.add(BaseClass.getBaseClass(2503));
ArrayList<SkillReq> skillsGrantedLizardman = new ArrayList<>();
ArrayList<PowerReq> powersGrantedLizardman = new ArrayList<>();
ArrayList<MobBaseEffects> effectsListLizardman = new ArrayList<>();
Race lizardman = new Race(1998,"Lizardman","Rulers of the swamps, Lizardmen treat all intruders with great hostility.",new Vector3f(35,30,85),new Vector3f(55,50,120),new Vector3f(50,45,115),new Vector3f(45,40,110),new Vector3f(35,30,85),(byte)10,19981998,(short)0,(short)0,5.0f,(short)0,baseClassesLizardman,skillsGrantedLizardman,powersGrantedLizardman,effectsListLizardman);
Race._raceByID.put(1998,lizardman);
}
public static Race getRace(int id) {

Loading…
Cancel
Save