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) ...@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND) e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,m+100) e1:SetCountLimit(1,m+100)
e1:SetTarget(cm.target) e1:SetTarget(cm.target)
e1:SetOperation(cm.operation) e1:SetOperation(cm.operation)
......
...@@ -12,6 +12,7 @@ function cm.initial_effect(c) ...@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,m+100) e1:SetCountLimit(1,m+100)
e1:SetTarget(cm.target) e1:SetTarget(cm.target)
e1:SetOperation(cm.operation) e1:SetOperation(cm.operation)
......
...@@ -27,7 +27,7 @@ function cm.initial_effect(c) ...@@ -27,7 +27,7 @@ function cm.initial_effect(c)
local e2=srduo.speffect(c,m) local e2=srduo.speffect(c,m)
end end
function cm.gfilter(c,tp) 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 end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp) function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.gfilter,1,nil,tp) return eg:IsExists(cm.gfilter,1,nil,tp)
......
...@@ -39,10 +39,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,10 +39,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoHand(c,nil,REASON_COST) Duel.SendtoHand(c,nil,REASON_COST)
end end
function cm.filter(c,e,tp) 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 end
function cm.cfilter(c,e,tp) 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 end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 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) ...@@ -60,7 +60,7 @@ function cm.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_EFFECT) return e:GetHandler():IsReason(REASON_EFFECT)
end end
function cm.filter(c,e,sp) 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 end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -122,7 +122,7 @@ function c21520100.addxyzfilter(c) ...@@ -122,7 +122,7 @@ function c21520100.addxyzfilter(c)
return (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsCanOverlay() return (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsCanOverlay()
end end
function c21520100.addxyztg(e,tp,eg,ep,ev,re,r,rp,chk) 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) Duel.SetChainLimit(c21520100.chainlimit)
end end
function c21520100.chainlimit(e,rp,tp) function c21520100.chainlimit(e,rp,tp)
...@@ -130,7 +130,7 @@ function c21520100.chainlimit(e,rp,tp) ...@@ -130,7 +130,7 @@ function c21520100.chainlimit(e,rp,tp)
end end
function c21520100.addxyzop(e,tp,eg,ep,ev,re,r,rp) function c21520100.addxyzop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() 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) local g=Duel.GetMatchingGroup(c21520100.addxyzfilter,tp,LOCATION_HAND+LOCATION_REMOVED,0,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL) 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