模式文件中改用玩家的随机而非系统随机,便于正确回放

This commit is contained in:
MrZ_26
2020-08-09 02:02:43 +08:00
parent 10c3157ad1
commit d4cd90cfea
18 changed files with 70 additions and 72 deletions

View File

@@ -1,4 +1,4 @@
local max,rnd=math.max,math.random
local max=math.max
return{
color=color.magenta,
env={
@@ -10,7 +10,7 @@ return{
local D=P.modeData
D.counter=D.counter+1
if D.counter>=max(90,180-D.event)then
P:garbageRise(10,1,rnd(10))
P:garbageRise(10,1,P:RND(10))
P.stat.recv=P.stat.recv+1
D.counter=0
D.event=D.event+1