public void skillCheck(String attribute, int skill,
				int difficulty) {
			Result r = Dice.contest(skill, difficulty);

			while (r.equals(Result.TIE)) {
				r = Dice.contest(skill, difficulty);
			}

			if (r.equals(Result.FAILURE)) {
				switch (attribute) {
				case "stamina":
					pc.increaseStat(AbilityType.STAMINA, 1);
					break;
				case "agility":
					pc.setAgility(skill + 1);
					break;
				case "logic":
					pc.setLogic(skill + 1);
					break;
				case "creativity":
					pc.setCreativity(skill + 1);
					break;
				case "wisdom":
					pc.setWisdom(skill + 1);
					break;
				case "charisma":
					pc.setCharisma(skill + 1);
					break;
				default:
					break;
				}

			} else if (r.equals(Result.SUCCESS))
				pc.setBits(pc.getBits() + 1);

		}