public boolean magicAttack(Monster theMonster){
		System.out.println("How much damage would you like to do?");
		System.out.println("Mana: " + this.getMana());
		System.out.print("command: ");
		Scanner input = new Scanner(System.in);
		try{
		String theMagicDamage = input.next();
		int magicDamage = Integer.parseInt(theMagicDamage);
		if(magicDamage > this.getMana()){
			System.out.println("Not enough mana!");
			magicDamage = input.nextInt();
			while(magicDamage > this.getMana()){
				System.out.println("Not enough mana!");
				System.out.println("Enter in a different value!");
				magicDamage = input.nextInt();
			}
		}else{
			boolean monsterDead = false;
			theMonster.setHealthOnAttack(magicDamage);
			this.setManaOnUse(magicDamage);
			System.out.println("The " + theMonster.getName() + " has taken " + magicDamage + " damage!");
			if(theMonster.getHealth() <= 0){
				theMonster.setHealth(0);
				monsterDead = true;
				System.out.println("the monster is now at " + theMonster.getHealth() + " health!");
			}
			
			if(monsterDead){
				System.out.println("The " + theMonster.getName() + " has died!");
				return monsterDead;
			}
		}
		}
		catch(NumberFormatException e){
			System.err.print("You fail casting your magic!\n");	
			}
		
		return false;
		
	}