@ -489,27 +489,6 @@ public class CharacterSkill extends AbstractGameObject {
@@ -489,27 +489,6 @@ public class CharacterSkill extends AbstractGameObject {
return ;
ConcurrentHashMap < String , CharacterSkill > skills = pc . getSkills ( ) ;
if ( pc . getRace ( ) . getName ( ) . equals ( "Saetor" ) ) {
SkillsBase staff = SkillsBase . getFromCache ( 71438003 ) ;
if ( staff ! = null & & ! skills . containsKey ( staff . getName ( ) ) ) {
CharacterSkill newSkill = new CharacterSkill ( staff , pc ) ; //staff
skills . put ( staff . getName ( ) , newSkill ) ;
//newSkill.updateDatabase();
}
SkillsBase staffMastery = SkillsBase . getFromCache ( - 61022283 ) ;
if ( staffMastery ! = null & & ! skills . containsKey ( staffMastery . getName ( ) ) ) {
CharacterSkill newSkill = new CharacterSkill ( staffMastery , pc ) ; //staff mastery
skills . put ( staffMastery . getName ( ) , newSkill ) ;
//newSkill.updateDatabase();
}
SkillsBase parry = SkillsBase . getFromCache ( 95961104 ) ;
if ( parry ! = null & & ! skills . containsKey ( parry . getName ( ) ) ) {
CharacterSkill newSkill = new CharacterSkill ( parry , pc ) ; //parry
skills . put ( parry . getName ( ) , newSkill ) ;
//newSkill.updateDatabase();
}
}
//First add skills that don't exist
Race race = pc . getRace ( ) ;
if ( race ! = null ) {
@ -581,6 +560,15 @@ public class CharacterSkill extends AbstractGameObject {
@@ -581,6 +560,15 @@ public class CharacterSkill extends AbstractGameObject {
if ( skills = = null )
return ;
if ( pc . getRace ( ) . getName ( ) . equals ( "Saetor" ) ) {
SkillReq parry = new SkillReq ( 95961104 , ( short ) 1 ) ;
SkillReq staff = new SkillReq ( 71438003 , ( short ) 15 ) ;
SkillReq staffMastery = new SkillReq ( - 61022283 , ( short ) 1 ) ;
skillsGranted . add ( parry ) ;
skillsGranted . add ( staff ) ;
skillsGranted . add ( staffMastery ) ;
}
for ( SkillReq skillreq : skillsGranted ) {
SkillsBase skillsBase = skillreq . getSkillsBase ( ) ;