blood rune check work

This commit is contained in:
2024-05-04 10:14:20 -05:00
parent 3189d64031
commit 16a9d4e5c9
@@ -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;