Saved Bookmarks
| 1. |
Solve : Help On Health/Damage Calculation? |
|
Answer» Basically i have this: Quote from: Jacob on June 26, 2008, 11:29:13 AMCharge is just an attack styleBasically i have this: and yes those ones are meant to be mathematical sums.Quote from: Jacob on June 26, 2008, 11:29:13 AM I am not too sure how to do +,-,* and / in MS-DOS/Batch. You have to use set with the /a switch to do calculations. A is for Arithmetic. set /a sum=%NUMBER1%+%number2% That works, thanks, but what to i do if i want to 'goto dead' if %ECHP% is less than or equal to 0. Thank you.Quote from: Jacob on June 26, 2008, 12:29:11 PM That works, thanks, but what to i do if i want to 'goto dead' if %ECHP% is less than or equal to 0. if %ECHP% LEQ 0 goto dead It's all in the IF help, which you can access by typing IF /? at the prompt. Thank you, i have no finished my basic battle/fighting ENGINE. |
|