|
|
@ -848,6 +848,22 @@ public abstract class AbstractCharacter extends AbstractWorldObject { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public final ConcurrentHashMap<String, CharacterSkill> getSkills() { |
|
|
|
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; |
|
|
|
return this.skills; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|