Commit c081f01b authored by Grajade's avatar Grajade

Update c23076.lua

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