Fixed enemy attack

setting player hp should have been subtracting the attack value from the
curHp not the maxHP