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 {
} }
//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:
case 4:
case 5:
case 6:
if(discCount > 3)
return false; return false;
} break;
} else { case 7:
if (discCount > 3) { case 8:
if(discCount > 5)
return false; return false;
} break;
} }
} }
//Everything succeeded. Let's apply the rune //Everything succeeded. Let's apply the rune

Loading…
Cancel
Save