开云手机在线官网
标题: 随机抽取怎么弄 ??? [打印本页]
作者: 仍爱着她的我 时间: 2019-4-5 21:52
标题: 随机抽取怎么弄 ???
随机抽取怎么弄啊???
大神求解》《
作者: diazynez 时间: 2019-4-5 21:58
我最近做了一个完善的版本……你要参考下吗
作者: 仍爱着她的我 时间: 2019-4-5 22:05
好的。。谢谢大佬
作者: diazynez 时间: 2019-4-5 22:07
echo Choose the Order Number!
echo 1.3V3
echo 2.1V1
echo.
echo ============================================================
choice /c:12 /m:"Input:"
cls
if %errorlevel% == 1 goto menu21
if %errorlevel% == 2 goto menu22
:menu21
set /a ranNum1=%random%%%(53)+1
if %ranNum1%==1 set fighter1=零段
if %ranNum1%==2 set fighter1=始护
if %ranNum1%==3 set fighter1=卍护
if %ranNum1%==4 set fighter1=虚护
if %ranNum1%==5 set fighter1=卍虚
if %ranNum1%==6 set fighter1=义露
if %ranNum1%==7 set fighter1=始露
if %ranNum1%==8 set fighter1=雨龙
if %ranNum1%==9 set fighter1=茶渡
if %ranNum1%==10 set fighter1=银
if %ranNum1%==11 set fighter1=恋次
if %ranNum1%==12 set fighter1=大白
if %ranNum1%==13 set fighter1=帝白
if %ranNum1%==14 set fighter1=小白
if %ranNum1%==15 set fighter1=卍白
if %ranNum1%==16 set fighter1=一角
if %ranNum1%==17 set fighter1=剑八
if %ranNum1%==18 set fighter1=涅茧利
if %ranNum1%==19 set fighter1=小乌
if %ranNum1%==20 set fighter1=大乌
if %ranNum1%==21 set fighter1=蓝染
if %ranNum1%==22 set fighter1=渣鸣
if %ranNum1%==23 set fighter1=一尾
if %ranNum1%==24 set fighter1=四尾
if %ranNum1%==25 set fighter1=仙鸣
if %ranNum1%==26 set fighter1=金鸣
if %ranNum1%==27 set fighter1=小樱
if %ranNum1%==28 set fighter1=宁次
if %ranNum1%==29 set fighter1=渣佐
if %ranNum1%==30 set fighter1=咒佐
if %ranNum1%==31 set fighter1=须佐
if %ranNum1%==32 set fighter1=卡卡西
if %ranNum1%==33 set fighter1=我爱罗
if %ranNum1%==34 set fighter1=手鞠
if %ranNum1%==35 set fighter1=小李
if %ranNum1%==36 set fighter1=自来也
if %ranNum1%==37 set fighter1=奇拉比
if %ranNum1%==38 set fighter1=蛇叔
if %ranNum1%==39 set fighter1=香燐
if %ranNum1%==40 set fighter1=重吾
if %ranNum1%==41 set fighter1=鼬
if %ranNum1%==42 set fighter1=小南
if %ranNum1%==43 set fighter1=佩恩
if %ranNum1%==44 set fighter1=带一
if %ranNum1%==45 set fighter1=带二
if %ranNum1%==46 set fighter1=小迪
if %ranNum1%==47 set fighter1=剑心
if %ranNum1%==48 set fighter1=蓝剑
if %ranNum1%==49 set fighter1=织姬
if %ranNum1%==50 set fighter1=杜李
if %ranNum1%==51 set fighter1=始虚
if %ranNum1%==52 set fighter1=斑
if %ranNum1%==53 set fighter1=葛六
set /a ranNum2=%random%%%(53)+1
if %ranNum2%==1 set fighter2=零段
if %ranNum2%==2 set fighter2=始护
if %ranNum2%==3 set fighter2=卍护
if %ranNum2%==4 set fighter2=虚护
if %ranNum2%==5 set fighter2=卍虚
if %ranNum2%==6 set fighter2=义露
if %ranNum2%==7 set fighter2=始露
if %ranNum2%==8 set fighter2=雨龙
if %ranNum2%==9 set fighter2=茶渡
if %ranNum2%==10 set fighter2=银
if %ranNum2%==11 set fighter2=恋次
if %ranNum2%==12 set fighter2=大白
if %ranNum2%==13 set fighter2=帝白
if %ranNum2%==14 set fighter2=小白
if %ranNum2%==15 set fighter2=卍白
if %ranNum2%==16 set fighter2=一角
if %ranNum2%==17 set fighter2=剑八
if %ranNum2%==18 set fighter2=涅茧利
if %ranNum2%==19 set fighter2=小乌
if %ranNum2%==20 set fighter2=大乌
if %ranNum2%==21 set fighter2=蓝染
if %ranNum2%==22 set fighter2=渣鸣
if %ranNum2%==23 set fighter2=一尾
if %ranNum2%==24 set fighter2=四尾
if %ranNum2%==25 set fighter2=仙鸣
if %ranNum2%==26 set fighter2=金鸣
if %ranNum2%==27 set fighter2=小樱
if %ranNum2%==28 set fighter2=宁次
if %ranNum2%==29 set fighter2=渣佐
if %ranNum2%==30 set fighter2=咒佐
if %ranNum2%==31 set fighter2=须佐
if %ranNum2%==32 set fighter2=卡卡西
if %ranNum2%==33 set fighter2=我爱罗
if %ranNum2%==34 set fighter2=手鞠
if %ranNum2%==35 set fighter2=小李
if %ranNum2%==36 set fighter2=自来也
if %ranNum2%==37 set fighter2=奇拉比
if %ranNum2%==38 set fighter2=蛇叔
if %ranNum2%==39 set fighter2=香燐
if %ranNum2%==40 set fighter2=重吾
if %ranNum2%==41 set fighter2=鼬
if %ranNum2%==42 set fighter2=小南
if %ranNum2%==43 set fighter2=佩恩
if %ranNum2%==44 set fighter2=带一
if %ranNum2%==45 set fighter2=带二
if %ranNum2%==46 set fighter2=小迪
if %ranNum2%==47 set fighter2=剑心
if %ranNum2%==48 set fighter2=蓝剑
if %ranNum2%==49 set fighter2=织姬
if %ranNum2%==50 set fighter2=杜李
if %ranNum2%==51 set fighter2=始虚
if %ranNum2%==52 set fighter2=斑
if %ranNum2%==53 set fighter2=葛六
set /a ranNum3=%random%%%(33)+1
if %ranNum3%==1 set assist1=魂
if %ranNum3%==2 set assist1=织姬
if %ranNum3%==3 set assist1=雨%
作者: diazynez 时间: 2019-4-5 22:10
echo Choose the Order Number!
echo 1.3V3
echo 2.1V1
echo.
echo ============================================================
choice /c:12 /m:"Input:"
cls
if %errorlevel% == 1 goto menu21
if %errorlevel% == 2 goto menu22
:menu21
set /a ranNum1=%random%%%(53)+1
if %ranNum1%==1 set fighter1=零段
if %ranNum1%==2 set fighter1=始护
if %ranNum1%==3 set fighter1=卍护
if %ranNum1%==4 set fighter1=虚护
if %ranNum1%==5 set fighter1=卍虚
if %ranNum1%==6 set fighter1=义露
if %ranNum1%==7 set fighter1=始露
if %ranNum1%==8 set fighter1=雨龙
if %ranNum1%==9 set fighter1=茶渡
if %ranNum1%==10 set fighter1=银
if %ranNum1%==11 set fighter1=恋次
if %ranNum1%==12 set fighter1=大白
if %ranNum1%==13 set fighter1=帝白
if %ranNum1%==14 set fighter1=小白
if %ranNum1%==15 set fighter1=卍白
if %ranNum1%==16 set fighter1=一角
if %ranNum1%==17 set fighter1=剑八
if %ranNum1%==18 set fighter1=涅茧利
if %ranNum1%==19 set fighter1=小乌
if %ranNum1%==20 set fighter1=大乌
if %ranNum1%==21 set fighter1=蓝染
if %ranNum1%==22 set fighter1=渣鸣
if %ranNum1%==23 set fighter1=一尾
if %ranNum1%==24 set fighter1=四尾
if %ranNum1%==25 set fighter1=仙鸣
if %ranNum1%==26 set fighter1=金鸣
if %ranNum1%==27 set fighter1=小樱
if %ranNum1%==28 set fighter1=宁次
if %ranNum1%==29 set fighter1=渣佐
if %ranNum1%==30 set fighter1=咒佐
if %ranNum1%==31 set fighter1=须佐
if %ranNum1%==32 set fighter1=卡卡西
if %ranNum1%==33 set fighter1=我爱罗
if %ranNum1%==34 set fighter1=手鞠
if %ranNum1%==35 set fighter1=小李
if %ranNum1%==36 set fighter1=自来也
if %ranNum1%==37 set fighter1=奇拉比
if %ranNum1%==38 set fighter1=蛇叔
if %ranNum1%==39 set fighter1=香燐
if %ranNum1%==40 set fighter1=重吾
if %ranNum1%==41 set fighter1=鼬
if %ranNum1%==42 set fighter1=小南
if %ranNum1%==43 set fighter1=佩恩
if %ranNum1%==44 set fighter1=带一
if %ranNum1%==45 set fighter1=带二
if %ranNum1%==46 set fighter1=小迪
if %ranNum1%==47 set fighter1=剑心
if %ranNum1%==48 set fighter1=蓝剑
if %ranNum1%==49 set fighter1=织姬
if %ranNum1%==50 set fighter1=杜李
if %ranNum1%==51 set fighter1=始虚
if %ranNum1%==52 set fighter1=斑
if %ranNum1%==53 set fighter1=葛六
set /a ranNum2=%random%%%(53)+1
if %ranNum2%==1 set fighter2=零段
if %ranNum2%==2 set fighter2=始护
if %ranNum2%==3 set fighter2=卍护
if %ranNum2%==4 set fighter2=虚护
if %ranNum2%==5 set fighter2=卍虚
if %ranNum2%==6 set fighter2=义露
if %ranNum2%==7 set fighter2=始露
if %ranNum2%==8 set fighter2=雨龙
if %ranNum2%==9 set fighter2=茶渡
if %ranNum2%==10 set fighter2=银
if %ranNum2%==11 set fighter2=恋次
if %ranNum2%==12 set fighter2=大白
if %ranNum2%==13 set fighter2=帝白
if %ranNum2%==14 set fighter2=小白
if %ranNum2%==15 set fighter2=卍白
if %ranNum2%==16 set fighter2=一角
if %ranNum2%==17 set fighter2=剑八
if %ranNum2%==18 set fighter2=涅茧利
if %ranNum2%==19 set fighter2=小乌
if %ranNum2%==20 set fighter2=大乌
if %ranNum2%==21 set fighter2=蓝染
if %ranNum2%==22 set fighter2=渣鸣
if %ranNum2%==23 set fighter2=一尾
if %ranNum2%==24 set fighter2=四尾
if %ranNum2%==25 set fighter2=仙鸣
if %ranNum2%==26 set fighter2=金鸣
if %ranNum2%==27 set fighter2=小樱
if %ranNum2%==28 set fighter2=宁次
if %ranNum2%==29 set fighter2=渣佐
if %ranNum2%==30 set fighter2=咒佐
if %ranNum2%==31 set fighter2=须佐
if %ranNum2%==32 set fighter2=卡卡西
if %ranNum2%==33 set fighter2=我爱罗
if %ranNum2%==34 set fighter2=手鞠
if %ranNum2%==35 set fighter2=小李
if %ranNum2%==36 set fighter2=自来也
if %ranNum2%==37 set fighter2=奇拉比
if %ranNum2%==38 set fighter2=蛇叔
if %ranNum2%==39 set fighter2=香燐
if %ranNum2%==40 set fighter2=重吾
if %ranNum2%==41 set fighter2=鼬
if %ranNum2%==42 set fighter2=小南
if %ranNum2%==43 set fighter2=佩恩
if %ranNum2%==44 set fighter2=带一
if %ranNum2%==45 set fighter2=带二
if %ranNum2%==46 set fighter2=小迪
if %ranNum2%==47 set fighter2=剑心
if %ranNum2%==48 set fighter2=蓝剑
if %ranNum2%==49 set fighter2=织姬
if %ranNum2%==50 set fighter2=杜李
if %ranNum2%==51 set fighter2=始虚
if %ranNum2%==52 set fighter2=斑
if %ranNum2%==53 set fighter2=葛六
set /a ranNum3=%random%%%(33)+1
if %ranNum3%==1 set assist1=魂
if %ranNum3%==2 set assist1=织姬
if %ranNum3%==3 set assist1=雨%
作者: diazynez 时间: 2019-4-5 22:12
[code]echo Choose the Order Number!
echo 1.3V3
echo 2.1V1
echo.
echo ============================================================
choice /c:12 /m:"Input:"
cls
if %errorlevel% == 1 goto menu21
if %errorlevel% == 2 goto menu22
:menu21
set /a ranNum1=%random%%%(53)+1
if %ranNum1%==1 set fighter1=零段
if %ranNum1%==2 set fighter1=始护
if %ranNum1%==3 set fighter1=卍护
if %ranNum1%==4 set fighter1=虚护
if %ranNum1%==5 set fighter1=卍虚
if %ranNum1%==6 set fighter1=义露
if %ranNum1%==7 set fighter1=始露
if %ranNum1%==8 set fighter1=雨龙
if %ranNum1%==9 set fighter1=茶渡
if %ranNum1%==10 set fighter1=银
if %ranNum1%==11 set fighter1=恋次
if %ranNum1%==12 set fighter1=大白
if %ranNum1%==13 set fighter1=帝白
if %ranNum1%==14 set fighter1=小白
if %ranNum1%==15 set fighter1=卍白
if %ranNum1%==16 set fighter1=一角
if %ranNum1%==17 set fighter1=剑八
if %ranNum1%==18 set fighter1=涅茧利
if %ranNum1%==19 set fighter1=小乌
if %ranNum1%==20 set fighter1=大乌
if %ranNum1%==21 set fighter1=蓝染
if %ranNum1%==22 set fighter1=渣鸣
if %ranNum1%==23 set fighter1=一尾
if %ranNum1%==24 set fighter1=四尾
if %ranNum1%==25 set fighter1=仙鸣
if %ranNum1%==26 set fighter1=金鸣
if %ranNum1%==27 set fighter1=小樱
if %ranNum1%==28 set fighter1=宁次
if %ranNum1%==29 set fighter1=渣佐
if %ranNum1%==30 set fighter1=咒佐
if %ranNum1%==31 set fighter1=须佐
if %ranNum1%==32 set fighter1=卡卡西
if %ranNum1%==33 set fighter1=我爱罗
if %ranNum1%==34 set fighter1=手鞠
if %ranNum1%==35 set fighter1=小李
if %ranNum1%==36 set fighter1=自来也
if %ranNum1%==37 set fighter1=奇拉比
if %ranNum1%==38 set fighter1=蛇叔
if %ranNum1%==39 set fighter1=香燐
if %ranNum1%==40 set fighter1=重吾
if %ranNum1%==41 set fighter1=鼬
if %ranNum1%==42 set fighter1=小南
if %ranNum1%==43 set fighter1=佩恩
if %ranNum1%==44 set fighter1=带一
if %ranNum1%==45 set fighter1=带二
if %ranNum1%==46 set fighter1=小迪
if %ranNum1%==47 set fighter1=剑心
if %ranNum1%==48 set fighter1=蓝剑
if %ranNum1%==49 set fighter1=织姬
if %ranNum1%==50 set fighter1=杜李
if %ranNum1%==51 set fighter1=始虚
if %ranNum1%==52 set fighter1=斑
if %ranNum1%==53 set fighter1=葛六
set /a ranNum2=%random%%%(53)+1
if %ranNum2%==1 set fighter2=零段
if %ranNum2%==2 set fighter2=始护
if %ranNum2%==3 set fighter2=卍护
if %ranNum2%==4 set fighter2=虚护
if %ranNum2%==5 set fighter2=卍虚
if %ranNum2%==6 set fighter2=义露
if %ranNum2%==7 set fighter2=始露
if %ranNum2%==8 set fighter2=雨龙
if %ranNum2%==9 set fighter2=茶渡
if %ranNum2%==10 set fighter2=银
if %ranNum2%==11 set fighter2=恋次
if %ranNum2%==12 set fighter2=大白
if %ranNum2%==13 set fighter2=帝白
if %ranNum2%==14 set fighter2=小白
if %ranNum2%==15 set fighter2=卍白
if %ranNum2%==16 set fighter2=一角
if %ranNum2%==17 set fighter2=剑八
if %ranNum2%==18 set fighter2=涅茧利
if %ranNum2%==19 set fighter2=小乌
if %ranNum2%==20 set fighter2=大乌
if %ranNum2%==21 set fighter2=蓝染
if %ranNum2%==22 set fighter2=渣鸣
if %ranNum2%==23 set fighter2=一尾
if %ranNum2%==24 set fighter2=四尾
if %ranNum2%==25 set fighter2=仙鸣
if %ranNum2%==26 set fighter2=金鸣
if %ranNum2%==27 set fighter2=小樱
if %ranNum2%==28 set fighter2=宁次
if %ranNum2%==29 set fighter2=渣佐
if %ranNum2%==30 set fighter2=咒佐
if %ranNum2%==31 set fighter2=须佐
if %ranNum2%==32 set fighter2=卡卡西
if %ranNum2%==33 set fighter2=我爱罗
if %ranNum2%==34 set fighter2=手鞠
if %ranNum2%==35 set fighter2=小李
if %ranNum2%==36 set fighter2=自来也
if %ranNum2%==37 set fighter2=奇拉比
if %ranNum2%==38 set fighter2=蛇叔
if %ranNum2%==39 set fighter2=香燐
if %ranNum2%==40 set fighter2=重吾
if %ranNum2%==41 set fighter2=鼬
if %ranNum2%==42 set fighter2=小南
if %ranNum2%==43 set fighter2=佩恩
if %ranNum2%==44 set fighter2=带一
if %ranNum2%==45 set fighter2=带二
if %ranNum2%==46 set fighter2=小迪
if %ranNum2%==47 set fighter2=剑心
if %ranNum2%==48 set fighter2=蓝剑
if %ranNum2%==49 set fighter2=织姬
if %ranNum2%==50 set fighter2=杜李
if %ranNum2%==51 set fighter2=始虚
if %ranNum2%==52 set fighter2=斑
if %ranNum2%==53 set fighter2=葛六
set /a ranNum3=%random%%%(33)+1
if %ranNum3%==1 set assist1=魂
if %ranNum3%==2 set assist1=织姬
if %ranNum3%==3 set assist1=%
作者: 仍爱着她的我 时间: 2019-4-5 22:14
请问这些怎么设置
作者: diazynez 时间: 2019-4-5 22:20
存进一个批处理文件,别的语言也都可以做,这个仅供参考
作者: 仍爱着她的我 时间: 2019-4-5 22:22
文件根目录在哪
作者: diazynez 时间: 2019-4-5 22:24
创建一个txt就行啊
作者: 仍爱着她的我 时间: 2019-4-5 22:26
放在哪里
作者: diazynez 时间: 2019-4-5 22:27
随意
作者: 仍爱着她的我 时间: 2019-4-5 22:33
那fight.xml那里的随机人物有啥用
作者: diazynez 时间: 2019-4-5 22:42
在开云(中国)内抽取人物(不能进行微调)
作者: 阿达啊 时间: 2019-4-6 09:32
我也不知道
作者: 仍爱着她的我 时间: 2019-4-6 23:38
不行啊,我建了个txt放在assets
作者: diazynez 时间: 2019-4-6 23:51
放哪都一样的
作者: 仍爱着她的我 时间: 2019-4-7 22:43
都不能。。。。
作者: diazynez 时间: 2019-4-7 22:50
是你弄错什么了吧
作者: 仍爱着她的我 时间: 2019-4-7 22:53
我是用记事本弄的
作者: 仍爱着她的我 时间: 2019-4-7 22:53
两个都在一起吗
作者: diazynez 时间: 2019-4-8 22:35
只有一段脚本,多发的是网络延迟问题造成的
保存到txt后改后缀为bat
作者: 仍爱着她的我 时间: 2019-4-8 22:41
好的,谢谢
作者: 仍爱着她的我 时间: 2019-4-8 22:44
就是说随机要网络
作者: diazynez 时间: 2019-4-8 22:45
仔细看我发的消息不会吗
欢迎光临 开云手机在线官网 (/) |
Powered by Discuz! X3.4 |