Browse Source

Backend Saetor work

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
e8ca4863d5
  1. 7
      src/engine/db/handlers/dbSkillBaseHandler.java
  2. 3
      src/engine/objects/Race.java

7
src/engine/db/handlers/dbSkillBaseHandler.java

@ -143,6 +143,13 @@ public class dbSkillBaseHandler extends dbHandlerBase { @@ -143,6 +143,13 @@ public class dbSkillBaseHandler extends dbHandlerBase {
SkillsBase.runeSkillsCache.get(runeID).put(token, amount);
}
//add saetor skills
HashMap<Integer, Integer> skills = new HashMap<>();
skills.put(71438003,15); // staff
skills.put(-61022283,10); // staff mastery
skills.put(95961104,10); // parry
SkillsBase.runeSkillsCache.put(1999,skills);
} catch (SQLException e) {
Logger.error(e);

3
src/engine/objects/Race.java

@ -158,9 +158,6 @@ public class Race { @@ -158,9 +158,6 @@ public class Race {
baseClassesSaetor.add(BaseClass.getBaseClass(2502));
baseClassesSaetor.add(BaseClass.getBaseClass(2503));
ArrayList<SkillReq> skillsGrantedSaetor = new ArrayList<>();
skillsGrantedSaetor.add(new SkillReq(71438003,(short)15));//staff
skillsGrantedSaetor.add(new SkillReq(-61022283,(short)10));//staff mastery
skillsGrantedSaetor.add(new SkillReq(95961104,(short)10));//parry
ArrayList<PowerReq> powersGrantedSaetor = new ArrayList<>();
ArrayList<MobBaseEffects> effectsListSaetor = new ArrayList<>();
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)20,19991999,(short)0,(short)0,5.0f,(short)0,baseClassesSaetor,skillsGrantedSaetor,powersGrantedSaetor,effectsListSaetor);

Loading…
Cancel
Save