Commit 6b8984b3 authored by Tachibana's avatar Tachibana

ndyd

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