Browse Source

blood prophet for all irekei mage/healers

lakebane2
FatBoy-DOTC 2 weeks ago
parent
commit
a21bdfe031
  1. 3
      src/engine/net/client/msg/ApplyRuneMsg.java

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

@ -154,6 +154,7 @@ public class ApplyRuneMsg extends ClientNetMsg { @@ -154,6 +154,7 @@ public class ApplyRuneMsg extends ClientNetMsg {
ConcurrentHashMap<Integer, Boolean> promotionClasses = rb.getPromotionClass();
if (promotionClasses.size() > 0) {
int promotionClassID = playerCharacter.getPromotionClassID();
int baseClassID = playerCharacter.getBaseClassID();
boolean valid = false;
for (int validID : promotionClasses.keySet()) {
if (validID == promotionClassID) {
@ -171,6 +172,8 @@ public class ApplyRuneMsg extends ClientNetMsg { @@ -171,6 +172,8 @@ public class ApplyRuneMsg extends ClientNetMsg {
valid = true;
if(runeID == 3028 && (raceID == 2013 || raceID == 2014) && playerCharacter.getBaseClassID() == 2501)
valid = true;
if(runeID == 3035 && baseClassID == 2501)
valid = true;
if (!valid) {
return false;
}

Loading…
Cancel
Save