Commit 8c3c9b69 authored by Tachibana's avatar Tachibana

ndyd

parent 68013d8c
No preview for this file type
expansions/pics/33340002.jpg

18.6 KB | W: | H:

expansions/pics/33340002.jpg

163 KB | W: | H:

expansions/pics/33340002.jpg
expansions/pics/33340002.jpg
expansions/pics/33340002.jpg
expansions/pics/33340002.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47590893.jpg

12.4 KB | W: | H:

expansions/pics/47590893.jpg

116 KB | W: | H:

expansions/pics/47590893.jpg
expansions/pics/47590893.jpg
expansions/pics/47590893.jpg
expansions/pics/47590893.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,m+100)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
......
......@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,m+100)
e1:SetTarget(cm.target)
e1:SetOperation(cm.operation)
......
......@@ -27,7 +27,7 @@ function cm.initial_effect(c)
local e2=srduo.speffect(c,m)
end
function cm.gfilter(c,tp)
return c:GetPreviousRaceOnField() & RACE_SEASERPENT~=0 and c:IsPreviousLocation(LOCATION_ONFIELD) or c:IsRace(RACE_SEASERPENT) and not c:IsPreviousLocation(LOCATION_ONFIELD)
return c:GetPreviousRaceOnField() & RACE_SEASERPENT~=0 and c:IsPreviousLocation(LOCATION_ONFIELD) or ( c:IsRace(RACE_SEASERPENT) and c:IsPreviousLocation(LOCATION_ONFIELD) )
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.gfilter,1,nil,tp)
......
......@@ -39,10 +39,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoHand(c,nil,REASON_COST)
end
function cm.filter(c,e,tp)
return c:IsCode(12019002) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return srre.check_set_Duo(c) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function cm.cfilter(c,e,tp)
return srre.check_set_Duo(c) and not c:IsPublic()
return c:IsCode(12019002) and not c:IsPublic()
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -60,7 +60,7 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_EFFECT)
end
function cm.filter(c,e,sp)
return c:IsRace(RACE_FAIRY) and c:IsCanBeSpecialSummoned(e,0,sp,false,false)
return c:IsRace(RACE_SEASERPENT) and c:IsCanBeSpecialSummoned(e,0,sp,false,false)
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
......@@ -122,7 +122,7 @@ function c21520100.addxyzfilter(c)
return (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsCanOverlay()
end
function c21520100.addxyztg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c21520100.addxyzfilter,tp,LOCATION_HAND+LOCATION_REMOVED,0,1,nil) end
if chk==0 then return e:GetHandler():IsFaceup() end
Duel.SetChainLimit(c21520100.chainlimit)
end
function c21520100.chainlimit(e,rp,tp)
......@@ -130,7 +130,7 @@ function c21520100.chainlimit(e,rp,tp)
end
function c21520100.addxyzop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
if not c:IsRelateToEffect(e) or not (c:IsOnField() and c:IsFaceup()) then return end
local g=Duel.GetMatchingGroup(c21520100.addxyzfilter,tp,LOCATION_HAND+LOCATION_REMOVED,0,nil)
if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
......
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