public static double getHp4408Percent(int skillLevel)
{
return HP_BONUS_4408.length < skillLevel ? 1d : (double) Math.max(HP_BONUS_4408[skillLevel - 1], 1);
}
private final static int[] HP_BONUS_4409 =
{
0,
10,
21,
33,
46,
61,
77,
-75,
-50,
100,
200,
300,
400,
500,
600,
700,
800,
900,
1000,
1100,
};
public static double getHp4409Percent(int skillLevel)
{
return HP_BONUS_4409.length < skillLevel ? 1d : (double) Math.max(HP_BONUS_4409[skillLevel - 1], 1);
}
private final static Map<Integer, Double> HP_ENCHANT_BONUS = new HashMap<>();
static
{
HP_ENCHANT_BONUS.put(4303, 2d);
HP_ENCHANT_BONUS.put(4304, 3d);
HP_ENCHANT_BONUS.put(4305, 4d);
HP_ENCHANT_BONUS.put(4306, 5d);
HP_ENCHANT_BONUS.put(4307, 6d);
HP_ENCHANT_BONUS.put(4308, 7d);
HP_ENCHANT_BONUS.put(4309, 8d);
HP_ENCHANT_BONUS.put(4310, 9d);
HP_ENCHANT_BONUS.put(4311, 0.5);
}