|
|
|
@ -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; |
|
|
|
|