src/main/java/com/duckblade/osrs/dpscalc/calc/CalcUtil.java
// salve has 3 levels - off, on, enhanced
salve has 3 levels - off, on, enhanced
salve has 3 levels - off on enhanced
public static int salveLevel(CalcInput input)
	{
		if (!input.getNpcTarget().isUndead())
			return 0;
		if (input.getCombatMode() == CombatMode.MELEE)
		{
			if (!SALVE_MELEE.isSatisfied(input))
				return 0;
		}
		else if (!SALVE_MAGE_RANGED.isSatisfied(input))
			return 0;
		return SALVE_ENHANCED.isSatisfied(input) ? 2 : 1;
	}
public static int salveLevel ( CalcInput input ) { if ( ! input . getNpcTarget ( ) . isUndead ( ) ) return 0 ; if ( input . getCombatMode ( ) == CombatMode . MELEE ) { if ( ! SALVE_MELEE . isSatisfied ( input ) ) return 0 ; } else if ( ! SALVE_MAGE_RANGED . isSatisfied ( input ) ) return 0 ; return SALVE_ENHANCED . isSatisfied ( input ) ? 2 : 1 ; }
salve has 3 levels - off, on, enhanced
salve has 3 levels - off on enhanced