|  |  | @ -1152,10 +1152,20 @@ public class Item extends AbstractWorldObject { | 
			
		
	
		
		
			
				
					
					|  |  |  |      */ |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |     public int getValue() { |  |  |  |     public int getValue() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         int modifiedValue; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.flags.contains(ItemFlags.Identified)) |  |  |  |         if (this.flags.contains(ItemFlags.Identified)) | 
			
		
	
		
		
			
				
					
					|  |  |  |             return this.magicValue; |  |  |  |             modifiedValue = this.magicValue; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         else | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             modifiedValue = this.value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (this.template.item_initial_charges > 0) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             modifiedValue = modifiedValue * (this.chargesRemaining / this.template.item_initial_charges); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if (this.template.combat_health_full > 0) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             modifiedValue = (int) (modifiedValue * (this.combat_health_current / this.template.combat_health_full)); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         return this.value; |  |  |  |         return modifiedValue; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     /** |  |  |  |     /** | 
			
		
	
	
		
		
			
				
					|  |  | 
 |