|
|
|
@ -80,6 +80,7 @@ public class ApplyRuneMsg extends ClientNetMsg {
@@ -80,6 +80,7 @@ public class ApplyRuneMsg extends ClientNetMsg {
|
|
|
|
|
|
|
|
|
|
//Check race is met
|
|
|
|
|
ConcurrentHashMap<Integer, Boolean> races = rb.getRace(); |
|
|
|
|
if(runeID != 3007 && runeID != 3014) {//bounty hunter and huntsman
|
|
|
|
|
if (races.size() > 0) { |
|
|
|
|
int raceID = playerCharacter.getRaceID(); |
|
|
|
|
boolean valid = false; |
|
|
|
@ -125,7 +126,11 @@ public class ApplyRuneMsg extends ClientNetMsg {
@@ -125,7 +126,11 @@ public class ApplyRuneMsg extends ClientNetMsg {
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else{ |
|
|
|
|
if(playerCharacter.getPromotionClassID() == 2519){//priest
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//Check disciplines are met
|
|
|
|
|
ArrayList<CharacterRune> runes = playerCharacter.getRunes(); |
|
|
|
|
ConcurrentHashMap<Integer, Boolean> disciplines = rb.getDiscipline(); |
|
|
|
|