public boolean isCritical(BaseClass test){
		double randNumber = Math.random();
		double d = randNumber * 100;
		int randomInt = (int)d+1;
		if(randomInt<=test.crit){
			return true;
		}
		else {
			return false;
		}
	}