Browse Source

rogue/mage druids and saetor huntress/fury

lakebane-master
FatBoy-DOTC 9 months ago
parent
commit
5cdab459bc
  1. 11
      src/engine/net/client/msg/VendorDialogMsg.java

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

@ -548,11 +548,14 @@ public class VendorDialogMsg extends ClientNetMsg { @@ -548,11 +548,14 @@ public class VendorDialogMsg extends ClientNetMsg {
// verify race valid for profession
Race race = pc.getRace();
if (race == null || !promo.isAllowedRune(race.getToken())) {
// TODO send client promotion error
return;
}
if(race.getRaceRuneID() == 1999 && (promoID == 2512 || promoID == 2511)) {
}else {
if (race == null || !promo.isAllowedRune(race.getToken())) {
// TODO send client promotion error
return;
}
}
// verify baseclass valid for profession
BaseClass bc = pc.getBaseClass();
if(promo.getName().equals("Druid") && (bc.getName().equals("Rogue") || bc.getName().equals("Mage"))) { //allow rogue and mage druids

Loading…
Cancel
Save