Browse Source

Rogue Druids

lakebane-strongholds
FatBoy-DOTC 3 months ago
parent
commit
8f2a2f0ba6
  1. 6
      src/engine/net/client/msg/VendorDialogMsg.java
  2. 2
      src/engine/objects/PromotionClass.java

6
src/engine/net/client/msg/VendorDialogMsg.java

@ -587,10 +587,14 @@ public class VendorDialogMsg extends ClientNetMsg { @@ -587,10 +587,14 @@ public class VendorDialogMsg extends ClientNetMsg {
}
// verify baseclass valid for profession
BaseClass bc = pc.getBaseClass();
if (bc == null || !promo.isAllowedRune(bc.getToken())) {
if (bc == null) {
// TODO send client promotion error
return;
}
if(!promo.isAllowedRune(bc.getToken())){
if(!bc.getName().equals("Rogue") && !promo.getName().equals("Druid"))
return;
}
if(race.getRaceRuneID() != 1999) {
// verify gender

2
src/engine/objects/PromotionClass.java

@ -150,8 +150,6 @@ public class PromotionClass extends AbstractGameObject { @@ -150,8 +150,6 @@ public class PromotionClass extends AbstractGameObject {
return true;
}
}
if(this.getName().equals("Druid") && token == 2502)
return true;
return false;
}

Loading…
Cancel
Save