Commit fc3dc0ec authored by nanahira's avatar nanahira

fix set

parent 72b607ff
......@@ -25,9 +25,10 @@ function Auxiliary.PreloadUds()
code=ac,
turn=Duel.GetTurnCount()
})
end)
Duel.RegisterEffect(e1,0)
local e2=Effect.GlobalEffect()
if not _FORBID_INITIALIZED then
_FORBID_INITIALIZED=true
local tempc=Duel.CreateToken(0,10000000)
local e2=Effect.CreateEffect(tempc)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_SET_AVAILABLE+EFFECT_FLAG_IGNORE_IMMUNE+EFFECT_FLAG_IGNORE_RANGE)
e2:SetCode(EFFECT_FORBIDDEN)
......@@ -40,7 +41,7 @@ function Auxiliary.PreloadUds()
end)
end)
Duel.RegisterEffect(e2,0)
local e3=e2:Clone()
e3:SetTargetRange(LOCATION_HAND,LOCATION_HAND)
Duel.RegisterEffect(e3,0)
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