|
|
|
@ -92,9 +92,10 @@ public class TrainMsg extends ClientNetMsg {
@@ -92,9 +92,10 @@ public class TrainMsg extends ClientNetMsg {
|
|
|
|
|
|
|
|
|
|
CharacterSkill sk = skills.get(sb.getName()); |
|
|
|
|
|
|
|
|
|
if(playerCharacter.getRaceID() == 1999) |
|
|
|
|
if(sk == null && playerCharacter.getRaceID() == 1999) |
|
|
|
|
if(sb.getName().equals("Staff") || sb.getName().equals("Staff Mastery") || sb.getName().equals("Parry")){ |
|
|
|
|
sk = new CharacterSkill(sb,playerCharacter); |
|
|
|
|
DbManager.CharacterSkillQueries.updateDatabase(sk); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (sk == null) |
|
|
|
|