|
|
@ -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
|
|
|
|