我正在尝试制作一个批处理游戏,但每次我尝试运行它时都会收到错误 Missing operand set was unexpected at this time 这是代码:
set /a temp2=(%hp% * %lvl% + %exp% * %exptill% + %wepprice% + %power% * %weppower%)/(%gold% + %pots% * %powergain%)
if not %temp1% equ %temp2% set %temp3%=1
goto home