title: Javascript save value on every button click
body: <p>Hi what I'm trying to achieve is to attack other user and minimize his health. What happens now is that everytime I click button the user hp on every click starts minimize from 100. Let's say on first click I hit him with 70 and now it's shows that he has 30. But On next click again he have 100 hp and again hit happens with some damage. How to fix that ? </p>