Browse Source

saetor skills

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
4b2563e4a1
  1. 18
      src/engine/objects/PlayerCharacter.java

18
src/engine/objects/PlayerCharacter.java

@ -4208,19 +4208,19 @@ public class PlayerCharacter extends AbstractCharacter { @@ -4208,19 +4208,19 @@ public class PlayerCharacter extends AbstractCharacter {
if (this.race.getName().equals("Saetor")) {
if(this.skills.containsKey("Staff") == false){
CharacterSkill staffSkill = new CharacterSkill(SkillsBase.getFromCache("Staff"),this);
this.skills.put("Staff",staffSkill);
staffSkill.updateDatabase();
CharacterSkill newSkill = new CharacterSkill(SkillsBase.getFromCache("Staff"),this);
this.skills.put("Staff",newSkill);
newSkill.updateDatabase();
}
if(this.skills.containsKey("Staff Mastery") == false){
CharacterSkill staffSkill = new CharacterSkill(SkillsBase.getFromCache("Staff Mastery"),this);
this.skills.put("Staff Mastery",staffSkill);
staffSkill.updateDatabase();
CharacterSkill newSkill = new CharacterSkill(SkillsBase.getFromCache("Staff Mastery"),this);
this.skills.put("Staff Mastery",newSkill);
newSkill.updateDatabase();
}
if(this.skills.containsKey("Parry") == false){
CharacterSkill staffSkill = new CharacterSkill(SkillsBase.getFromCache("Parry"),this);
this.skills.put("Parry",staffSkill);
staffSkill.updateDatabase();
CharacterSkill newSkill = new CharacterSkill(SkillsBase.getFromCache("Parry"),this);
this.skills.put("Parry",newSkill);
newSkill.updateDatabase();
}
}
//tell the player to applyBonuses because something has changed

Loading…
Cancel
Save