Commit 7a74786e authored by Tachibana's avatar Tachibana

得得得得得

parent 1685cc75
......@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_REMOVED) and chkc:IsAbleToDeck() end
if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToDeck,tp,LOCATION_REMOVED,LOCATION_REMOVED,5,nil) end
if chk==0 then return Duel.IsExistingTarget(Card.IsAbleToDeck,tp,LOCATION_REMOVED,LOCATION_REMOVED,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectTarget(tp,Card.IsAbleToDeck,tp,LOCATION_REMOVED,LOCATION_REMOVED,1,99,nil)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
......@@ -28,6 +28,7 @@ function cm.sfilter(c,tp)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local tg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
tg=tg:Filter(Card.IsRelateToEffect,nil,e)
if not tg then return end
local ct=Duel.SendtoDeck(tg,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
local g=Duel.GetOperatedGroup()
......
......@@ -65,11 +65,11 @@ function c71400009.filter2(c,tp)
return c:IsSetCard(0xb714) and c:IsType(TYPE_FIELD) and c:CheckUniqueOnField(tp) and not c:IsForbidden()
end
function c71400009.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetOverlayGroup(tp,0,1)
local g=Duel.GetOverlayGroup(tp,1,0)
if chk==0 then return g:IsExists(c71400009.filter2,1,nil,tp) end
end
function c71400009.op2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetOverlayGroup(tp,0,1)
local g=Duel.GetOverlayGroup(tp,1,0)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(71400001,3))
local g1=g:FilterSelect(tp,c71400009.filter2,1,1,nil,tp)
local tc1=g1:GetFirst()
......
......@@ -95,7 +95,7 @@ function cm.atkcon(e,tp,eg,ep,ev,re,r,rp)
return ep==tp
end
function cm.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.nzatk,tp,LOCATION_MZONE,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_MZONE,0,1,nil) end
end
function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
......
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