| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -555,16 +555,23 @@ public class VendorDialogMsg extends ClientNetMsg { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // verify baseclass valid for profession
 | 
					 | 
					 | 
					 | 
					        // verify baseclass valid for profession
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        BaseClass bc = pc.getBaseClass(); | 
					 | 
					 | 
					 | 
					        BaseClass bc = pc.getBaseClass(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        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())) { | 
					 | 
					 | 
					 | 
					            if (bc == null || !promo.isAllowedRune(bc.getToken())) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                // TODO send client promotion error
 | 
					 | 
					 | 
					 | 
					                // TODO send client promotion error
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return; | 
					 | 
					 | 
					 | 
					                return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // verify gender
 | 
					 | 
					 | 
					 | 
					        // verify gender
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        if(race.getName().equals("Saetor") == false) { //saetors can promote to huntress and fury
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (promoID == 2511 && pc.isMale()) // Fury
 | 
					 | 
					 | 
					 | 
					            if (promoID == 2511 && pc.isMale()) // Fury
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return; | 
					 | 
					 | 
					 | 
					                return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (promoID == 2512 && pc.isMale()) // Huntress
 | 
					 | 
					 | 
					 | 
					            if (promoID == 2512 && pc.isMale()) // Huntress
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return; | 
					 | 
					 | 
					 | 
					                return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (promoID == 2517 && !pc.isMale()) // Warlock
 | 
					 | 
					 | 
					 | 
					        if (promoID == 2517 && !pc.isMale()) // Warlock
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            return; | 
					 | 
					 | 
					 | 
					            return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |