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 {
if (this.race.getName().equals("Saetor")) { if (this.race.getName().equals("Saetor")) {
if(this.skills.containsKey("Staff") == false){ if(this.skills.containsKey("Staff") == false){
CharacterSkill staffSkill = new CharacterSkill(SkillsBase.getFromCache("Staff"),this); CharacterSkill newSkill = new CharacterSkill(SkillsBase.getFromCache("Staff"),this);
this.skills.put("Staff",staffSkill); this.skills.put("Staff",newSkill);
staffSkill.updateDatabase(); newSkill.updateDatabase();
} }
if(this.skills.containsKey("Staff Mastery") == false){ if(this.skills.containsKey("Staff Mastery") == false){
CharacterSkill staffSkill = new CharacterSkill(SkillsBase.getFromCache("Staff Mastery"),this); CharacterSkill newSkill = new CharacterSkill(SkillsBase.getFromCache("Staff Mastery"),this);
this.skills.put("Staff Mastery",staffSkill); this.skills.put("Staff Mastery",newSkill);
staffSkill.updateDatabase(); newSkill.updateDatabase();
} }
if(this.skills.containsKey("Parry") == false){ if(this.skills.containsKey("Parry") == false){
CharacterSkill staffSkill = new CharacterSkill(SkillsBase.getFromCache("Parry"),this); CharacterSkill newSkill = new CharacterSkill(SkillsBase.getFromCache("Parry"),this);
this.skills.put("Parry",staffSkill); this.skills.put("Parry",newSkill);
staffSkill.updateDatabase(); newSkill.updateDatabase();
} }
} }
//tell the player to applyBonuses because something has changed //tell the player to applyBonuses because something has changed

Loading…
Cancel
Save