Commit 029dd98a authored by Tachibana's avatar Tachibana

ndyd

parent 377996b8
No preview for this file type
......@@ -70,10 +70,11 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,cm.spfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoHand(g,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g)
end
end
function cm.checkfilter(c,tp)
......
......@@ -22,8 +22,11 @@ function c81021015.initial_effect(c)
e2:SetOperation(c81021015.repop)
c:RegisterEffect(e2)
end
function c81021015.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x818)
end
function c81021015.indcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(Card.IsSetCard,tp,LOCATION_ONFIELD,0,1,nil,0x818)
return Duel.IsExistingMatchingCard(c81021015.atkfilter,tp,LOCATION_ONFIELD,0,1,nil)
end
function c81021015.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) 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