Browse Source

Backend Saetor work

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
9d28601761
  1. 16
      src/engine/objects/AbstractCharacter.java

16
src/engine/objects/AbstractCharacter.java

@ -848,6 +848,22 @@ public abstract class AbstractCharacter extends AbstractWorldObject { @@ -848,6 +848,22 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
}
public final ConcurrentHashMap<String, CharacterSkill> 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;
}

Loading…
Cancel
Save