Commit 13e3a14e authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 5dedc518
Pipeline #567 passed with stages
in 42 minutes
......@@ -22,7 +22,7 @@ function c12008020.initial_effect(c)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetHintTiming(0,0x1e0)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetCountLimit(1)
e2:SetCountLimit(1,12008020)
e2:SetTarget(c12008020.thtg)
e2:SetOperation(c12008020.thop)
c:RegisterEffect(e2)
......@@ -55,9 +55,11 @@ function c12008020.rmop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_TO_HAND)
e1:SetCountLimit(1)
e1:SetLabel(fid)
e1:SetLabelObject(og)
e1:SetCondition(c12008020.hdcon)
e1:SetTargetRange(1,1)
-- e1:SetCondition(c12008020.hdcon)
e1:SetOperation(c12008020.hdop)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
......@@ -120,7 +122,7 @@ function c12008020.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,c12008020.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,99,nil)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,g:GetCount(),0,0)
if e:IsHasType(EFFECT_TYPE_ACTIVATE) then
Duel.SetChainLimit(c12008020.limit)
Duel.SetChainLimit(c12008020.chainlimit)
end
end
function c12008020.chainlimit(e,rp,tp)
......
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