Skip to content

Commit c3305e3

Browse files
committed
Make booster draft duel start
1 parent c58588c commit c3305e3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

unofficial/c511005093.lua

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
121121
Duel.SetLP(0,8000)
122122
Duel.SetLP(1,8000)
123123
--FOR RANDOOM
124-
local rseed=0
125-
for i=1,6 do
126-
local r={Duel.TossCoin(i%2,5)}
127-
for n=1,5 do
128-
rseed=(rseed<<1)+r[n]
129-
end
130-
end
124+
local rseed=Duel.GetRandomNumber()
131125
math.randomseed(rseed)
132126
local fg=Duel.GetFieldGroup(0,0x43,0x43)
133127
--remove all cards
@@ -183,7 +177,7 @@ function s.flag_chk(c)
183177
end
184178

185179
function s.nt_cd(e,tp,eg,ep,ev,re,r,rp)
186-
return Duel.GetTurnCount()>1
180+
return Duel.GetTurnCount()>0
187181
end
188182

189183
local playerpack=Group.CreateGroup()

0 commit comments

Comments
 (0)