public double getMeleeAttack() {
		double level = c.playerLevel[0];
		double levelMultiplier = 1.00;
		if (c.prayerActive[2])
            levelMultiplier *= 1.05;
        else if (c.prayerActive[7])
            levelMultiplier *= 1.1;
        else if (c.prayerActive[15])
            levelMultiplier *= 1.15;
        else if (c.prayerActive[24])
            levelMultiplier *= 1.15;
        else if (c.prayerActive[25]) 
            levelMultiplier *= 1.20;
        if (c.fullVoidMelee())
            levelMultiplier *= 1.1;
		double effectiveAttack = (int) (level * levelMultiplier);
		double maxAttack = effectiveAttack * getMeleeAccuracyBonus();
		maxAttack *= c.specAccuracy;
		if (maxAttack < 1) {
			maxAttack = 1;
		}
		return maxAttack;
	}