加入up机制。
This commit is contained in:
parent
e4a6ef6dd8
commit
9525736cf5
2 changed files with 21 additions and 10 deletions
|
@ -1,6 +1,8 @@
|
|||
3*
|
||||
镜华 真步 初音 伊绪 璃乃 亚里莎 杏奈 咲恋 伊莉亚 妮侬 莫妮卡 静流 姬塔 佩可莉姆(夏日) 秋乃 真琴 望 纯
|
||||
2*
|
||||
3* 2.5%
|
||||
镜华 真步 初音 伊绪 璃乃 亚里莎 杏奈 咲恋 伊莉亚 妮侬 莫妮卡 静流 姬塔 秋乃 真琴 望 纯
|
||||
2* 18%
|
||||
雪 千歌 美里 栞 铃奈 茜里 深月 铃 美冬 真阳 忍 美美 惠理子 珠希 绫音 纺希 香织 空花 宫子
|
||||
1*
|
||||
优衣 碧 美咲 凯露 铃莓 依里 可可萝 由加莉 怜 胡桃 未奏希 日和莉 佩可莉姆 莉玛
|
||||
1* 79.5%
|
||||
优衣 碧 美咲 凯露 铃莓 依里 可可萝 由加莉 怜 胡桃 未奏希 日和莉 佩可莉姆 莉玛
|
||||
up 0.7%
|
||||
佩可莉姆(夏日)
|
|
@ -276,6 +276,7 @@ class Ans(StdAns):
|
|||
on_tree_players = on_tree_players + nowdata['all_player'][str(p)]['id'] + '\n'
|
||||
return '救命[CQ:at,qq=3178302597][CQ:at,qq=3430357110]\n' + on_tree_players + '都在🌳上'
|
||||
|
||||
|
||||
if cmd == '单抽' or cmd == '十连':
|
||||
times = 1 if cmd == '单抽' else 9
|
||||
try:
|
||||
|
@ -289,24 +290,32 @@ class Ans(StdAns):
|
|||
star2 = [each for each in star2 if each]
|
||||
star1 = characters[5].replace('\n', '').split(' ')
|
||||
star1 = [each for each in star1 if each]
|
||||
up = characters[7].replace('\n', '').split(' ')
|
||||
up = [each for each in up if each]
|
||||
resultStar = []
|
||||
resultName = []
|
||||
for each in range(times):
|
||||
code = randint(1,200)
|
||||
if code <= 5:
|
||||
code = randint(1,1000)
|
||||
if code <= 18:
|
||||
resultStar.append(3)
|
||||
resultName.append(choice(star3))
|
||||
elif code <= 41:
|
||||
elif code <= 25:
|
||||
resultStar.append(3)
|
||||
resultName.append(choice(up))
|
||||
elif code <= 205:
|
||||
resultStar.append(2)
|
||||
resultName.append(choice(star2))
|
||||
else:
|
||||
resultStar.append(1)
|
||||
resultName.append(choice(star1))
|
||||
if times == 9:
|
||||
code = randint(1, 200)
|
||||
if code <= 5:
|
||||
code = randint(1, 1000)
|
||||
if code <= 18:
|
||||
resultStar.append(3)
|
||||
resultName.append(choice(star3))
|
||||
elif code <= 25:
|
||||
resultStar.append(3)
|
||||
resultName.append(choice(up))
|
||||
else:
|
||||
resultStar.append(2)
|
||||
resultName.append(choice(star2))
|
||||
|
|
Loading…
Reference in a new issue