level 70+ is allowed to apply a fifth disc rune
This commit is contained in:
@@ -279,16 +279,21 @@ public class ApplyRuneMsg extends ClientNetMsg {
|
|||||||
}
|
}
|
||||||
//if discipline, check number applied
|
//if discipline, check number applied
|
||||||
if (isDiscipline(runeID)) {
|
if (isDiscipline(runeID)) {
|
||||||
//if(playerCharacter.getLevel() == 80)
|
switch(playerCharacter.getRank()){
|
||||||
discCount -= 1; // level 80 characters get an extra disc rune
|
case 1:
|
||||||
if (playerCharacter.getLevel() < 70) {
|
case 2:
|
||||||
if (discCount > 2) {
|
case 3:
|
||||||
return false;
|
case 4:
|
||||||
}
|
case 5:
|
||||||
} else {
|
case 6:
|
||||||
if (discCount > 3) {
|
if(discCount > 3)
|
||||||
return false;
|
return false;
|
||||||
}
|
break;
|
||||||
|
case 7:
|
||||||
|
case 8:
|
||||||
|
if(discCount > 5)
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Everything succeeded. Let's apply the rune
|
//Everything succeeded. Let's apply the rune
|
||||||
|
|||||||
Reference in New Issue
Block a user