private final int getHpFilter() {
		int[] hps = { 0, 1000, 5000, 10000, 20000, 50000, 100000, 150000,
				200000, 250000, 300000, 350000, 400000, 450000, 500000, 600000,
				700000, 800000, 900000, 1000000, 1200000, 1400000, 1600000,
				1800000, 2000000, 2250000, 2500000, 2750000, 3000000, 3500000,
				4000000, 4500000, 5000000, 6000000, 7000000, 8000000, 9000000,
				10000000 };

		if (hpMax < 1)
			return 0;
		if (hpMax < 1000)
			return 1;
		if (hpMin < 1)
			return 0;

		for (int j = 1; j < hps.length; j++) {
			if (hps[j - 1] > hpMin && hps[j] < hpMax) {
				return j;
			}
		}

		return 0;
	}