Commit aea620b0 authored by Tachibana's avatar Tachibana

得得得得得

parent db824ed8
Pipeline #13507 failed with stages
in 9 minutes and 22 seconds
expansions/pics/113007.jpg

12.9 KB | W: | H:

expansions/pics/113007.jpg

12.9 KB | W: | H:

expansions/pics/113007.jpg
expansions/pics/113007.jpg
expansions/pics/113007.jpg
expansions/pics/113007.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -22,6 +22,7 @@ function cm.initial_effect(c) ...@@ -22,6 +22,7 @@ function cm.initial_effect(c)
.e("SetTarget",function (e,tp,eg,ep,ev,re,r,rp,chk) .e("SetTarget",function (e,tp,eg,ep,ev,re,r,rp,chk)
local c = e:GetHandler() local c = e:GetHandler()
if chk==0 then return iCount(0,tp,m,1) if chk==0 then return iCount(0,tp,m,1)
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.GetMZoneCount(tp,c)>0 end and Duel.GetMZoneCount(tp,c)>0 end
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,c:GetLocation()) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,c:GetLocation())
...@@ -57,7 +58,7 @@ Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1) ...@@ -57,7 +58,7 @@ Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SendtoHand(g,nil,REASON_EFFECT) Duel.SendtoHand(g,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g) Duel.ConfirmCards(1-tp,g)
end end
if cm.morelove(e) and Duel.IsExistingMatchingCard(cm.thfilter2,tp,LOCATION_GRAVE,0,1,nil) then if cm.morelove(e) and Duel.IsExistingMatchingCard(cm.thfilter2,tp,LOCATION_GRAVE,0,1,nil) then
if Duel.SelectEffectYesNo(tp,e:GetHandler(),aux.Stringid(4223310,1)) then if Duel.SelectEffectYesNo(tp,e:GetHandler(),aux.Stringid(4223310,1)) then
......
...@@ -22,7 +22,7 @@ function cm.initial_effect(c) ...@@ -22,7 +22,7 @@ function cm.initial_effect(c)
.e("SetTarget",function (e,tp,eg,ep,ev,re,r,rp,chk) .e("SetTarget",function (e,tp,eg,ep,ev,re,r,rp,chk)
local c = e:GetHandler() local c = e:GetHandler()
if chk==0 then return iCount(0,tp,m,1) if chk==0 then return iCount(0,tp,m,1)
and c:IsCanBeSpecialSummoned() and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
and Duel.GetMZoneCount(tp,c)>0 end and Duel.GetMZoneCount(tp,c)>0 end
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,c:GetLocation()) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,c:GetLocation())
......
...@@ -11,7 +11,7 @@ function cm.initial_effect(c) ...@@ -11,7 +11,7 @@ function cm.initial_effect(c)
.e("SetCondition",function(e,c) .e("SetCondition",function(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
return Duel.IsExistingMatchingCard(function(c) return c:IsCode(4223310) and c:IsFaceup() end,tp,LOCATION_ONFIELD,0,1,nil) and Duel.IsPlayerCanDiscardDeckAsCost(tp,3) return Duel.GetMZoneCount(tp,c)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.IsExistingMatchingCard(function(c) return c:IsCode(4223310) and c:IsFaceup() end,tp,LOCATION_ONFIELD,0,1,nil) and Duel.IsPlayerCanDiscardDeckAsCost(tp,3)
end) end)
.e("SetOperation",function(e,tp,eg,ep,ev,re,r,rp,c) .e("SetOperation",function(e,tp,eg,ep,ev,re,r,rp,c)
Duel.DiscardDeck(tp,3,REASON_COST) Duel.DiscardDeck(tp,3,REASON_COST)
...@@ -46,7 +46,7 @@ Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1) ...@@ -46,7 +46,7 @@ Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
return false return false
else else
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end end
end) end)
.Return()) .Return())
end end
......
...@@ -11,7 +11,7 @@ function cm.initial_effect(c) ...@@ -11,7 +11,7 @@ function cm.initial_effect(c)
.e("SetCondition",function(e,c) .e("SetCondition",function(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
return Duel.IsExistingMatchingCard(function(c) return c:IsCode(4223310) and c:IsFaceup() end,tp,LOCATION_ONFIELD,0,1,nil) and Duel.IsPlayerCanDiscardDeckAsCost(tp,3) return Duel.GetMZoneCount(tp,c)>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.IsExistingMatchingCard(function(c) return c:IsCode(4223310) and c:IsFaceup() end,tp,LOCATION_ONFIELD,0,1,nil) and Duel.IsPlayerCanDiscardDeckAsCost(tp,3)
end) end)
.e("SetOperation",function(e,tp,eg,ep,ev,re,r,rp,c) .e("SetOperation",function(e,tp,eg,ep,ev,re,r,rp,c)
Duel.DiscardDeck(tp,3,REASON_COST) Duel.DiscardDeck(tp,3,REASON_COST)
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
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