From e8ca4863d589ea2fe4aed2df7769fc8da65ea66b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 19 Mar 2024 19:34:54 -0500 Subject: [PATCH] Backend Saetor work --- src/engine/db/handlers/dbSkillBaseHandler.java | 7 +++++++ src/engine/objects/Race.java | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/engine/db/handlers/dbSkillBaseHandler.java b/src/engine/db/handlers/dbSkillBaseHandler.java index 3bfdefe6..4717377d 100644 --- a/src/engine/db/handlers/dbSkillBaseHandler.java +++ b/src/engine/db/handlers/dbSkillBaseHandler.java @@ -143,6 +143,13 @@ public class dbSkillBaseHandler extends dbHandlerBase { SkillsBase.runeSkillsCache.get(runeID).put(token, amount); } + //add saetor skills + HashMap 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); diff --git a/src/engine/objects/Race.java b/src/engine/objects/Race.java index 295a7539..526ae6db 100644 --- a/src/engine/objects/Race.java +++ b/src/engine/objects/Race.java @@ -158,9 +158,6 @@ public class Race { baseClassesSaetor.add(BaseClass.getBaseClass(2502)); baseClassesSaetor.add(BaseClass.getBaseClass(2503)); ArrayList 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 powersGrantedSaetor = new ArrayList<>(); ArrayList 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);