public int isHit(int mdmg)
	{
		int toDo = (mdmg-def);
		if (toDo <= 0)
		{
			toDo = 0;
			//stays the same
		}
		else if(toDo > 0) //if it actually does damage
		{
		curHP = curHP-toDo; //take away the damage from hp
			if(curHP < (-2*maxHP))
			{ //if it does more than twice your maxhp it's an overkill
				System.out.println("OVERKILL");
				curHP = 0;
			}
			else if (curHP < 0) //otherwise if you just die it sets hp to 0
			{
				curHP = 0;
			}
		}
		
		
		if(curHP <= 0)
		{
			isAlive = false;
		}
		return (toDo);
	}