RPG Health Regeneration by x1b24th Nov 2005 22:10
|
---|
Summary Piece of code used in my WIP. If credit given, give to x1b and LIT Description Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com health =1 health$="Your Current Health Is: " health_time =timer() healthRecovery_delay =5000 do update_time =timer() if health_time =timer() if health =< 99 health_time = update_time + healthRecovery_delay health = health +5 endif endif cls Print health$+str$(health) loop |