Well, the simple answer is, you can't. Nothing to do with it, I'm sorry.
Anyhow, maybe I can help you with this idea. I mean, I guess this is probably a simple random choice between winning or losing against the enemy (I really do hope it isn't a fixed result).
You could create a file (like points.txt) with the initial value of 0. It gets (e.g.) to 20 as you win the first fight. Then to 15 if you lose a new fight or to 30 if you win it. You could put some different kind of enemies (a wank, an average one and a stronger one) and read the value from the text file (set a limit, like 50, or else, once got to an high number is no longer a game; then you can decrease and get again to max. 50), and the more points you have, the more chances to win.
You could have something like
Code:
set a=%random%&set b=%random%
if %a% GTR %b% (
rem WON!
for /f "delims=" %%j in ('type points.txt') do set cp=%%j
rem Points.txt should contain only a number!
set /a np=cp+5
<nul set /p useless-var-i-just-use-this-little-known-excapement-to-avoid-line-feeds,-also-for-customized-pause-commands,-as-you-can-see-beneath=%np%>points.txt
rem Such a long var-name
rem Actually just a echo would look fine, but this can avoid troubles at some times while needing to get content of a file to variable,
rem as you should do for the read-from-points.txt
rem ########################
rem <nul set /p pause=Press any key...
rem pause
rem ########################
rem the above gives you a Press any key... with the pause on the same line, so it looks like the autenthical one.
rem just a thing that looks way stylish to me.
)
if %b% GTR %a% (
rem LOST!
rem Just do the same but decreasing points
)
if "%a%"=="%b%" (
rem You are now friends! LOL (How about the chances to get this result?!)
)
Don't know if have been useful; hope so.