Commit 6b8984b3 authored by Tachibana's avatar Tachibana

ndyd

parent 45abd650
Pipeline #5045 passed with stages
in 27 minutes and 37 seconds
......@@ -70,7 +70,7 @@ function c12031000.tdop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) then
local g=Group.FromCards(c,tc)
local g=Group.FromCards(tc,c)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT)
end
end
......@@ -23,6 +23,9 @@ function c19500001.initial_effect(c)
e2:SetOperation(c19500001.thop)
c:RegisterEffect(e2)
end
function c19500001.chainlm(e,ep,tp)
return tp==ep
end
function c19500001.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0
end
......@@ -33,6 +36,7 @@ function c19500001.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local sg=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_HAND,0,c)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
Duel.SetChainLimit(c19500001.chainlm)
end
function c19500001.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......@@ -61,6 +65,7 @@ end
function c19500001.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
Duel.SetChainLimit(c19500001.chainlm)
end
function c19500001.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
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