From f62d44d631c9be19188740e494cd177367d5b46c Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 13 Apr 2024 19:49:10 -0500 Subject: [PATCH] rogue/mage druids and saetor huntress/fury --- .../net/client/msg/VendorDialogMsg.java | 21 ++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/engine/net/client/msg/VendorDialogMsg.java b/src/engine/net/client/msg/VendorDialogMsg.java index 1ced6074..13e5577d 100644 --- a/src/engine/net/client/msg/VendorDialogMsg.java +++ b/src/engine/net/client/msg/VendorDialogMsg.java @@ -555,16 +555,23 @@ public class VendorDialogMsg extends ClientNetMsg { // verify baseclass valid for profession BaseClass bc = pc.getBaseClass(); - if (bc == null || !promo.isAllowedRune(bc.getToken())) { - // TODO send client promotion error - return; + if(promo.getName().equals("Druid") && (bc.getName().equals("Rogue") || bc.getName().equals("Mage"))) { //allow rogue and mage druids + + } + else { + if (bc == null || !promo.isAllowedRune(bc.getToken())) { + // TODO send client promotion error + return; + } } // verify gender - if (promoID == 2511 && pc.isMale()) // Fury - return; - if (promoID == 2512 && pc.isMale()) // Huntress - return; + if(race.getName().equals("Saetor") == false) { //saetors can promote to huntress and fury + if (promoID == 2511 && pc.isMale()) // Fury + return; + if (promoID == 2512 && pc.isMale()) // Huntress + return; + } if (promoID == 2517 && !pc.isMale()) // Warlock return;