Commit 5242dadf authored by Tachibana's avatar Tachibana

ndyd

parent 82d859ca
Pipeline #4662 passed with stages
in 28 minutes and 37 seconds
expansions/pics/64800042.jpg

172 KB | W: | H:

expansions/pics/64800042.jpg

118 KB | W: | H:

expansions/pics/64800042.jpg
expansions/pics/64800042.jpg
expansions/pics/64800042.jpg
expansions/pics/64800042.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -85,7 +85,7 @@ function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
return true
end
function cm.filter(c,rc)
return c:IsAbleToHand() and c:IsCode(rc:GetCode()) and not re:GetHandler():IsCode(table.unpack(Srprzm_setback))
return c:IsAbleToHand() and c:IsCode(rc:GetCode()) and not c:IsCode(table.unpack(Srprzm_setback))
end
function cm.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
local rc=re:GetHandler()
......
......@@ -24,9 +24,9 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,tp) end
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetHandler(),tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local g=Duel.SelectMatchingCard(tp,cm.cfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,tp)
local g=Duel.SelectMatchingCard(tp,cm.cfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,e:GetHandler(),tp)
Duel.Release(g,REASON_COST)
end
function cm.cfilter(c)
......
......@@ -81,7 +81,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local sc=g:GetFirst()
if sc:IsLocation(LOCATION_REMOVED) and c:IsRelateToEffect(e) and c:IsFaceup() and sc:IsFaceup() and c:IsControler(tp)
and c:IsCanBeXyzMaterial(sc) and sc:IsCanBeSpecialSummoned(e,0,tp,true,false)
and c:IsCanBeXyzMaterial(sc) and sc:IsCanBeSpecialSummoned(e,0,tp,true,true)
and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0
and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect()
......@@ -91,7 +91,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
end
sc:SetMaterial(Group.FromCards(c))
Duel.Overlay(sc,Group.FromCards(c))
Duel.SpecialSummon(sc,0,tp,tp,true,false,POS_FACEUP)
Duel.SpecialSummon(sc,0,tp,tp,true,true,POS_FACEUP)
sc:CompleteProcedure()
end
end
......@@ -9,7 +9,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1,m)
e1:SetRange(LOCATION_ONFIELD+LOCATION_HAND)
e1:SetRange(LOCATION_MZONE+LOCATION_HAND)
e1:SetCost(cm.spcost1)
e1:SetTarget(cm.sptg1)
e1:SetOperation(cm.spop1)
......@@ -34,11 +34,10 @@ function cm.cfilter1(c,tp)
return c:IsType(TYPE_TUNER) and c:IsAbleToGraveAsCost() and (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and Duel.GetMZoneCount(tp,c)>0
end
function cm.spcost1(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter1,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,e:GetHandler(),tp) end
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter1,tp,LOCATION_MZONE+LOCATION_HAND,0,1,e:GetHandler(),tp) and e:GetHandler():IsAbleToGraveAsCost() end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,cm.cfilter1,tp,LOCATION_ONFIELD+LOCATION_HAND,0,1,1,e:GetHandler(),tp)
g:Merge(c)
local g=Duel.SelectMatchingCard(tp,cm.cfilter1,tp,LOCATION_MZONE+LOCATION_HAND,0,1,1,e:GetHandler(),tp)
g:AddCard(e:GetHandler())
Duel.SendtoGrave(g,REASON_COST)
end
function cm.spfilter1(c,e,tp)
......
......@@ -52,7 +52,7 @@ function c65020003.hdcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.ConfirmCards(1-tp,g)
Duel.ShuffleHand(tp)
if b and Duel.SelectYesNo(tp,aux.Stringid(65020010,1)) then
Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
Duel.MoveToField(c,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
else
Duel.SendtoGrave(c,REASON_COST+REASON_DISCARD)
end
......
......@@ -16,6 +16,7 @@ function c66915001.initial_effect(c)
c:RegisterEffect(e1)
--move
local e11=Effect.CreateEffect(c)
e11:SetDescription(aux.Stringid(66915001,0))
e11:SetType(EFFECT_TYPE_IGNITION)
e11:SetRange(LOCATION_MZONE)
e11:SetCountLimit(1)
......
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