From 5cdab459bcade20eee0681a5a724c761db2d031d Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 13 Apr 2024 20:08:18 -0500 Subject: [PATCH] rogue/mage druids and saetor huntress/fury --- src/engine/net/client/msg/VendorDialogMsg.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/engine/net/client/msg/VendorDialogMsg.java b/src/engine/net/client/msg/VendorDialogMsg.java index 13e5577d..db0f1c98 100644 --- a/src/engine/net/client/msg/VendorDialogMsg.java +++ b/src/engine/net/client/msg/VendorDialogMsg.java @@ -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