bug fix subtractPoints() for hp modification