Commit 4aa2f7a1 authored by nanahira's avatar nanahira

record tmp card

parent d85f4387
......@@ -26,9 +26,10 @@ function Auxiliary.PreloadUds()
turn=Duel.GetTurnCount()
})
if not _FORBID_INITIALIZED then
_FORBID_INITIALIZED=true
_FORBID_INITIALIZED={}
for p=0,1 do
local tempc=Duel.CreateToken(p,10000000)
_FORBID_INITIALIZED[p]=Duel.CreateToken(p,10000000)
local tempc=_FORBID_INITIALIZED[p]
local e2=Effect.CreateEffect(tempc)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_IMMUNE)
......@@ -43,7 +44,9 @@ function Auxiliary.PreloadUds()
Duel.RegisterEffect(e2,p)
end
end
Duel.AdjustInstantly()
for p=0,1 do
Duel.AdjustInstantly(_FORBID_INITIALIZED[p])
end
end)
Duel.RegisterEffect(e1,0)
end
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