blood rune check work
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user