public void takeAttack(AttackBox incoming){
		switch (incoming.getType()) {

		case 'p':
			if(stats.naturalAR > 0){
				stats.damageHP((int) (100.0 / (100 + stats.naturalAR) * incoming.getForce()) );
			}else{
				stats.damageHP((int) (2 - (100.0 / (100 - stats.naturalAR))) * incoming.getForce() );
			}
			break;

		case 'm':
			if(stats.naturalMR > 0){
				stats.damageHP((int) (100.0 / (100 + stats.naturalMR) * incoming.getForce()) );
			}else{
				stats.damageHP((int) (2 - (100.0 / (100 - stats.naturalMR))) * incoming.getForce() );
			}
			break;

		default:
			stats.damageHP(incoming.getForce());
			break;
		}

	}