Commit 2a877156 authored by 花桃白音's avatar 花桃白音

fix 307

parent 124809a9
Pipeline #33094 failed with stages
in 23 minutes and 15 seconds
......@@ -10,6 +10,7 @@ function s.initial_effect(c)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1,id)
e1:SetCondition(s.sumcon)
e1:SetTarget(s.thtg)
e1:SetOperation(s.thop)
c:RegisterEffect(e1)
......@@ -37,6 +38,10 @@ function s.initial_effect(c)
e2:SetOperation(s.penop)
c:RegisterEffect(e2)
end
function s.sumcon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return (ph==PHASE_MAIN1 or ph==PHASE_MAIN2)
end
function s.thfilter(c)
return c:IsSetCard(0x5420) and c:IsAbleToHand()
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