level 12
@echo off
set gold=1000
set heroHP=500
set heroAT=50
set butterfly=1
set butterflys=0
set shiva=0
set shivas=0
set heart=0
set hearts=0
set roshanHP=2000000
set roshanAT=2000000
:menu
cls
set pawnHP=200
set pawnAT=10
set superpawnHP=200
set superpawnAT=100
set towerHP=20000
set towerAT=1000
echo 游戏
echo.
echo 金币 %gold% 生命 %heroHP% 攻击 %heroAT%
echo.
echo 1.打钱
echo.
echo 2.推塔
echo.
echo 3.肉山
echo.
echo 4.商店
set /p menu=
if %menu% equ 0 goto wtf
if %menu% equ 1 goto farm
if %menu% equ 2 goto push
if %menu% equ 3 goto roshan
if %menu% equ 4 goto shop
goto menu
:wtf
cls
set gold=100000000
echo 你真机智找到了作弊的方法
pause>nul
goto menu
:farm
cls
echo 打钱
echo.
echo 1.小兵
echo.
echo 2.大兵
echo.
echo 3.返回
set /p farm=
if %farm% equ 1 goto pawn
if %farm% equ 2 goto superpawn
if %farm% equ 3 goto menu
:pawn
cls
echo 小兵生命 %pawnHP%
echo.
echo 小兵攻击 %pawnAT%
echo.
echo 英雄生命 %heroHP%
echo.
echo 英雄攻击 %heroAT%
pause>nul
for /l %%a in (1,1,%butterfly%) do (
set /a pawnHP-=heroAT
set /a pawnAT-=shiva
set /a heroHP+=heart
)
set /a heroHP-=pawnAT
if %pawnHP% lss 1 goto pawnwin
if %heroHP% lss 1 goto die
goto pawn
:pawnwin
cls
echo 你击杀了小兵获得1000金币
set G=1000
set /a gold+=G
pause>nul
goto menu
:superpawn
cls
echo 大兵生命 %superpawnHP%
echo.
echo 大兵攻击 %superpawnAT%
echo.
echo 英雄生命 %heroHP%
echo.
echo 英雄攻击 %heroAT%
pause>nul
for /l %%a in (1,1,%butterfly%) do (
set /a superpawnHP-=heroAT
set /a pawnAT-=shiva
set /a heroHP+=heart
)
set /a heroHP-=superpawnAT
if %superpawnHP% lss 1 goto superpawnwin
if %heroHP% lss 1 goto die
goto superpawn
:superpawnwin
cls
echo 你击杀了大兵获得3000金币
set G=3000
set /a gold+=G
pause>nul
goto menu
:back
cls
goto menu
:push
cls
echo 推塔
echo.
echo 1.防御塔
echo.
echo 2.返回
set /p push=
if %push% equ 1 goto tower
if %push% equ 2 goto menu
:tower
cls
echo 防御塔生命 %towerHP%
echo.
echo 防御塔攻击 %towerAT%
echo.
echo 英雄生命 %heroHP%
echo.
echo 英雄攻击 %heroAT%
pause>nul
for /l %%a in (1,1,%butterfly%) do (
set /a towerHP-=heroAT
set /a pawnAT-=shiva
set /a heroHP+=heart
)
set /a heroHP-=towerAT
if %towerHP% lss 1 goto towerwin
if %heroHP% lss 1 goto die
goto tower
:towerwin
cls
echo 你击杀了防御塔获得了50000金币
set G=50000
set /a gold+=G
pause>nul
goto menu
:roshan
cls
echo 肉山
echo.
echo 1.肉山
echo.
echo 2.返回
set /p roshan=
if %roshan% equ 1 goto killroshan
if %roshan% equ 2 goto menu
:killroshan
cls
echo 肉山生命 %roshanHP%
echo.
echo 肉山攻击 %roshanAT%
echo.
echo 英雄生命 %heroHP%
echo.
echo 英雄攻击 %heroAT%
pause>nul
for /l %%a in (1,1,%butterfly%) do (
set /a roshanHP-=heroAT
set /a pawnAT-=shiva
set /a heroHP+=heart
)
set /a heroHP-=roshanAT
if %roshanHP% lss 1 goto roshanwin
if %heroHP% lss 1 goto die
goto roshan
:roshanwin
cls
echo 你击杀了肉山获得了100000000金币
set /a gold+=100000000
set roshanHP=2000000
set roshanAT=2000000
pause>nul
goto menu
:shop
cls
echo 商店
echo.
echo 金币 %gold%
echo.
echo 1.英雄生命+100
echo 100金币
echo.
echo 2.英雄攻击+100
echo 100金币
echo.
echo 3.英雄生命+10000
echo 10000金币
echo.
echo 4.英雄攻击+10000
echo 10000金币
echo.
echo 5.物品
echo.
echo 6.返回
set /p shop=
if %shop% equ 1 goto buyHP
if %shop% equ 2 goto buyAT
if %shop% equ 3 goto moreHP
if %shop% equ 4 goto moreAT
if %shop% equ 5 goto items
if %shop% equ 6 goto menu
:buyHP
cls
if %gold% lss 100 goto nogold
if %heroHP% geq 1000000 goto toomuch
set /a heroHP+=100
set /a gold-=100
echo 英雄生命+100 金币-100
pause>nul
goto shop
:buyAT
cls
if %gold% lss 100 goto nogold
if %heroAT% geq 1000000 goto toomuch
set /a heroAT+=100
set /a gold-=100
echo 英雄攻击+100 金币-100
pause>nul
goto shop
:moreHP
cls
if %gold% lss 10000 goto nogold
if %heroHP% geq 1000000 goto toomuch
set /a heroHP+=10000
set /a gold-=10000
echo 英雄生命+10000 金币-10000
pause>nul
goto shop
:moreAT
cls
if %gold% lss 10000 goto nogold
if %heroAT% geq 1000000 goto toomuch
set /a heroAT+=10000
set /a gold-=10000
echo 英雄攻击+10000 金币-10000
pause>nul
goto shop
:items
cls
echo 物品
echo.
echo 金币 %gold%
echo.
echo 1.蝴蝶之刃
echo 40000金币
echo.
echo 2.西瓦的守护
echo 50000金币
echo.
echo 3.恐鳌之心
echo 60000金币
echo.
echo 4.返回
set /p items=
if %items% equ 1 goto butterfly
if %items% equ 2 goto shivas
if %items% equ 3 goto heart
if %items% equ 4 goto menu
:butterfly
cls
set /a butterfly+=1
set /a butterflys+=1
if %butterfly% geq 6 goto toomuch
echo 你每攻击1次可以额外攻击%butterfly%次
echo.
echo 蝴蝶之刃+1 金币-40000
echo.
echo 蝴蝶之刃 %butterflys% 个
pause>nul
goto menu
:shivas
cls
set /a shiva+=1000
set /a shivas+=1
echo 每次攻击削弱敌方单位%shiva%攻击
echo.
echo 西瓦的守护+1 金币-50000
echo.
echo 西瓦的守护 %shivas% 个
pause>nul
goto menu
:heart
cls
set /a heart+=1000
set /a hearts+=1
echo 你每攻击一次回复英雄%heart%生命
echo.
echo 恐鳌之心+1 金币-60000
echo.
echo 恐鳌之心 %hearts% 个
pause>nul
goto menu
:toomuch
echo 你买这件商品太多了没货了
pause>nul
goto menu
:die
cls
echo 死亡
echo.
echo 金币-500
echo.
echo 按任意键复活
set /a gold-=500
pause>nul
goto menu
:nogold
cls
echo 没钱
echo.
echo 没钱什么都没有
pause>nul
goto menu
2015年03月25日 12点03分
