Commit c21e89b4 authored by wyykak's avatar wyykak

fix 99999008

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 66feebfd
Pipeline #39838 passed with stage
in 9 seconds
......@@ -60,8 +60,7 @@ function c99999008.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c99999008.op(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
math.randomseed(os.time())
local dice = math.random(1,12)
local dice = Duel.GetRandomNumber(1,12)
Duel.Hint(HINT_NUMBER,tp,dice)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -103,8 +102,7 @@ function c99999008.thop1(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g)
g:GetFirst():AddCounter(0x1999,1)
end
math.randomseed(os.time())
local dice = math.random(1,12)
local dice = Duel.GetRandomNumber(1,12)
Duel.Hint(HINT_NUMBER,tp,dice)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment