public int successThreshold(Player patk, Player pdef){
	int successThreshold = 0;
	if(patk.inventory.contains(Card.spade) && !spectralImmune(patk)){
		successThreshold += 1;
	}
	if(patk.inventory.contains(Card.spadeii) && !spectralImmune(patk)){
		successThreshold += 2;
	}
	if(patk.inventory.contains(Card.longbowii)){
		successThreshold -= 1;
	}
	if(pdef.status.containsKey(Card.windwalk)){
		successThreshold += 1;
	}
	if(patk.avatar.avatarId.equals(AvatarId.WRAITH)&&(!locationArea(patk.location).equals(Area.MARSH)&&!locationArea(pdef.location).equals(Area.MARSH))){
		successThreshold += 1;
	}
	return successThreshold;
	}