Browse Source

blood rune check work

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
16a9d4e5c9
  1. 9
      src/engine/net/client/msg/ApplyRuneMsg.java

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

@ -218,7 +218,16 @@ public class ApplyRuneMsg extends ClientNetMsg { @@ -218,7 +218,16 @@ public class ApplyRuneMsg extends ClientNetMsg {
int mod = rba.getModValue();
switch (attrID) {
case MBServerStatics.RUNE_COST_ATTRIBUTE_ID:
switch (rb.getName()) {
case "Born of the Ethyri":
case "Born of the Taripontor":
case "Born of the Gwendannen":
case "Born of the Invorri":
case "Born of the Irydnu":
mod = 0;
}
if (mod > playerCharacter.getUnusedStatPoints()) {
return false;
}
cost = mod;

Loading…
Cancel
Save