Commit c081f01b authored by Grajade's avatar Grajade

Update c23076.lua

parent 8265dbfd
......@@ -64,9 +64,10 @@ function c23076.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
and Duel.IsExistingMatchingCard(Card.IsFaceup,tp,0,LOCATION_ONFIELD,1,e:GetHandler()) end
end
function c23076.thop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,0,LOCATION_ONFIELD,1,1,e:GetHandler())
Duel.HintSelection(tc)
local code=tc:GetFirst():GetCode()
local sg=Duel.SelectMatchingCard(tp,Card.IsFaceup,tp,0,LOCATION_ONFIELD,1,1,e:GetHandler())
if sg:GetCount()<1 then return end
Duel.HintSelection(sg)
local code=sg:GetFirst():GetCode()
e:SetLabel(code)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
......
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