okay I'm trying to create a small game in vb 2010 that will have the player and an enemy shows the health strength level and health but you press attack the computer rolls a dice if its below 10 its a miss if its ten or above its a hit then subtracts the value of strength and level from the enemy and hero's health i can get it do do everything up to removing the health it will remove and then change the health but wont permanently change the health so every time i press attack it just repeats the same number of 90 - 7 or 83instead of removing 7 from it changing it to 83 and then when i press it again subtracting 7 from 83
heres the code ,im 14 and ive learned the very basics of programing on visual basic and this is the first thing ive made myself
Public Class Form1