Browse Source

blood rune check work

lakebane-master
FatBoy-DOTC 7 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 {
int mod = rba.getModValue(); int mod = rba.getModValue();
switch (attrID) { switch (attrID) {
case MBServerStatics.RUNE_COST_ATTRIBUTE_ID: 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()) { if (mod > playerCharacter.getUnusedStatPoints()) {
return false; return false;
} }
cost = mod; cost = mod;

Loading…
Cancel
Save