|
|
@ -119,19 +119,19 @@ public class dbCharacterSkillHandler extends dbHandlerBase { |
|
|
|
SkillsBase staff = SkillsBase.getFromCache(71438003); |
|
|
|
SkillsBase staff = SkillsBase.getFromCache(71438003); |
|
|
|
if(staff != null && playerCharacter.getSkills().containsKey(staff.getName()) == false){ |
|
|
|
if(staff != null && playerCharacter.getSkills().containsKey(staff.getName()) == false){ |
|
|
|
CharacterSkill newSkill = new CharacterSkill(staff,playerCharacter); //staff
|
|
|
|
CharacterSkill newSkill = new CharacterSkill(staff,playerCharacter); //staff
|
|
|
|
playerCharacter.getSkills().put("Staff",newSkill); |
|
|
|
playerCharacter.getSkills().put(staff.getName(),newSkill); |
|
|
|
newSkill.updateDatabase(); |
|
|
|
newSkill.updateDatabase(); |
|
|
|
} |
|
|
|
} |
|
|
|
SkillsBase staffMastery = SkillsBase.getFromCache(-61022283); |
|
|
|
SkillsBase staffMastery = SkillsBase.getFromCache(-61022283); |
|
|
|
if(staffMastery != null && playerCharacter.getSkills().containsKey(staffMastery.getName()) == false){ |
|
|
|
if(staffMastery != null && playerCharacter.getSkills().containsKey(staffMastery.getName()) == false){ |
|
|
|
CharacterSkill newSkill = new CharacterSkill(staffMastery,playerCharacter); //staff mastery
|
|
|
|
CharacterSkill newSkill = new CharacterSkill(staffMastery,playerCharacter); //staff mastery
|
|
|
|
playerCharacter.getSkills().put(newSkill.getName(),newSkill); |
|
|
|
playerCharacter.getSkills().put(staffMastery.getName(),newSkill); |
|
|
|
newSkill.updateDatabase(); |
|
|
|
newSkill.updateDatabase(); |
|
|
|
} |
|
|
|
} |
|
|
|
SkillsBase parry = SkillsBase.getFromCache(95961104); |
|
|
|
SkillsBase parry = SkillsBase.getFromCache(95961104); |
|
|
|
if(parry != null && playerCharacter.getSkills().containsKey(parry.getName()) == false){ |
|
|
|
if(parry != null && playerCharacter.getSkills().containsKey(parry.getName()) == false){ |
|
|
|
CharacterSkill newSkill = new CharacterSkill(parry,playerCharacter); //parry
|
|
|
|
CharacterSkill newSkill = new CharacterSkill(parry,playerCharacter); //parry
|
|
|
|
playerCharacter.getSkills().put("Parry",newSkill); |
|
|
|
playerCharacter.getSkills().put(parry.getName(),newSkill); |
|
|
|
newSkill.updateDatabase(); |
|
|
|
newSkill.updateDatabase(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|