public int isHit(int pdmg)
		{
			System.out.println("DMG:"+pdmg);
			System.out.println("DEF:"+def);
			int toDo = (pdmg-def);
			if (toDo <= 0)
			{
				//stays the same
				toDo=0;
			}
			else if(toDo > 0)
			{
			curHP = curHP-toDo;
				if(curHP < (-2*maxHP))
				{
					System.out.println("OVERKILL");
					curHP = 0;
				}
				else if (curHP < 0)
				{
					curHP = 0;
				}
			}
			
			
			if(curHP <= 0)
			{
				isAlive = false;
			}
			return (toDo);
		}