Browse Source

Allow Saetor Rangers

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
c7604d0f2c
  1. 3
      src/engine/net/client/msg/VendorDialogMsg.java

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

@ -566,6 +566,9 @@ public class VendorDialogMsg extends ClientNetMsg {
Race race = pc.getRace(); Race race = pc.getRace();
if(race.getRaceRuneID() == 1999 && (promoID == 2512 || promoID == 2511)) { if(race.getRaceRuneID() == 1999 && (promoID == 2512 || promoID == 2511)) {
} else if(promo.getName().equals("Ranger")&& race.getName().equals("Saetor"))
{
}else { }else {
if (race == null || !promo.isAllowedRune(race.getToken())) { if (race == null || !promo.isAllowedRune(race.getToken())) {
// TODO send client promotion error // TODO send client promotion error

Loading…
Cancel
Save