Browse Source

level 70+ is allowed to apply a fifth disc rune

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
ad1444f5ba
  1. 21
      src/engine/net/client/msg/ApplyRuneMsg.java

21
src/engine/net/client/msg/ApplyRuneMsg.java

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

Loading…
Cancel
Save