Rogue Druids

This commit is contained in:
FatBoy committed 2024-09-08 19:17:16 -05:00
1 parent d575ba663d
commit 8f2a2f0ba6
2 files changed
+5 -3

No files matched your search

@@ -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