From 9d2860176167afb0d1a3e8fff17cca2c5017d19a Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 19 Mar 2024 19:56:29 -0500 Subject: [PATCH] Backend Saetor work --- src/engine/objects/AbstractCharacter.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/engine/objects/AbstractCharacter.java b/src/engine/objects/AbstractCharacter.java index 3d788dbe..8e938fc5 100644 --- a/src/engine/objects/AbstractCharacter.java +++ b/src/engine/objects/AbstractCharacter.java @@ -848,6 +848,22 @@ public abstract class AbstractCharacter extends AbstractWorldObject { } public final ConcurrentHashMap getSkills() { + if (this.getObjectType().equals(GameObjectType.PlayerCharacter)) { + if (((PlayerCharacter) this).getRace().getName().equals("Saetor")) { + if (this.skills.containsKey("Parry") == false) { + CharacterSkill parrySkill = new CharacterSkill(SkillsBase.getFromCache(95961104), (PlayerCharacter) this); + this.skills.put("Parry", parrySkill); + } + if (this.skills.containsKey("Staff") == false) { + CharacterSkill parrySkill = new CharacterSkill(SkillsBase.getFromCache(71438003), (PlayerCharacter) this); + this.skills.put("Staff", parrySkill); + } + if (this.skills.containsKey("Staff Mastery") == false) { + CharacterSkill parrySkill = new CharacterSkill(SkillsBase.getFromCache(-61022283), (PlayerCharacter) this); + this.skills.put("Staff Mastery", parrySkill); + } + } + } return this.skills; }