public void handlePrayerDrain() {
		c.usingPrayer = false;
		double toRemove = 0.0;
		for (int i = 0; i < PRAYER_DRAIN.length; i++) {
			if (c.prayerActive[i]) {
				toRemove += PRAYER_DRAIN[i]/10;
				c.usingPrayer = true;
			}
		}
		for (int i = 0; i < c.curses().CURSE_DRAIN.length; i++) {
			if (c.curseActive[i]) {
				toRemove += c.curses().CURSE_DRAIN[i]/10;
				c.usingPrayer = true;
			}
		}
		
		if (toRemove > 0) {
			toRemove /= (1 + (0.035 * c.playerBonus[11]));		
		}
		c.prayerPoint -= toRemove;
		if (c.prayerPoint <= 0) {
			c.prayerPoint = 1.0 + c.prayerPoint;
			reducePrayerLevel();
		}
	
	}