Commit 8e2de4c1 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent a187eb07
Pipeline #29970 passed with stages
in 35 minutes and 53 seconds
No preview for this file type
expansions/pics/65700025.jpg

15.1 KB | W: | H:

expansions/pics/65700025.jpg

15.4 KB | W: | H:

expansions/pics/65700025.jpg
expansions/pics/65700025.jpg
expansions/pics/65700025.jpg
expansions/pics/65700025.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/65700028.jpg

13.6 KB | W: | H:

expansions/pics/65700028.jpg

13.7 KB | W: | H:

expansions/pics/65700028.jpg
expansions/pics/65700028.jpg
expansions/pics/65700028.jpg
expansions/pics/65700028.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -49,13 +49,13 @@ function cm.tkcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,13 +49,13 @@ function cm.tkcon(e,tp,eg,ep,ev,re,r,rp)
end end
function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tktg(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
and Duel.IsPlayerCanSpecialSummonMonster(tp,10983999,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) end and Duel.IsPlayerCanSpecialSummonMonster(tp,10983099,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
function cm.tkop(e,tp,eg,ep,ev,re,r,rp) function cm.tkop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,10983999,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,10983099,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) then return end
local token=Duel.CreateToken(tp,10983999) local token=Duel.CreateToken(tp,10983099)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
end end
...@@ -59,10 +59,10 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -59,10 +59,10 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if ft>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,10983999,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) if ft>0 and Duel.IsPlayerCanSpecialSummonMonster(tp,10983099,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE)
and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect() Duel.BreakEffect()
local token=Duel.CreateToken(tp,10983999) local token=Duel.CreateToken(tp,10983099)
Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummonStep(token,0,tp,tp,false,false,POS_FACEUP)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
...@@ -56,13 +56,13 @@ function cm.tkcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -56,13 +56,13 @@ function cm.tkcost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:IsCostChecked() or Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return e:IsCostChecked() or Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsPlayerCanSpecialSummonMonster(tp,10983999,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) end and Duel.IsPlayerCanSpecialSummonMonster(tp,10983099,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
end end
function cm.tkop(e,tp,eg,ep,ev,re,r,rp) function cm.tkop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0
or not Duel.IsPlayerCanSpecialSummonMonster(tp,10983999,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) then return end or not Duel.IsPlayerCanSpecialSummonMonster(tp,10983099,0,TYPES_TOKEN_MONSTER,1500,1500,5,RACE_FIEND,ATTRIBUTE_FIRE) then return end
local tk=Duel.CreateToken(tp,10983999) local tk=Duel.CreateToken(tp,10983099)
Duel.SpecialSummon(tk,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tk,0,tp,tp,false,false,POS_FACEUP)
end end
...@@ -38,8 +38,8 @@ function c16400248.initial_effect(c) ...@@ -38,8 +38,8 @@ function c16400248.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c16400248.thcost(e,tp,eg,ep,ev,re,r,rp,chk) function c16400248.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0x10ec) end if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0xce2) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0x10ec) local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0xce2)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c16400248.thfilter(c) function c16400248.thfilter(c)
......
...@@ -43,8 +43,8 @@ function cm.initial_effect(c) ...@@ -43,8 +43,8 @@ function cm.initial_effect(c)
end end
function cm.sfilter(c,e,tp) function cm.sfilter(c,e,tp)
return aux.IsCodeListed(c,65700005) and (Duel.GetMZoneCount(tp,nil,tp)>0 and c:IsCanBeSpecialSummoned(e,0,tp,true,false,POS_FACEDOWN_DEFENSE)) return aux.IsCodeListed(c,65700005) and ((Duel.GetMZoneCount(tp,nil,tp)>0 and c:IsCanBeSpecialSummoned(e,0,tp,true,false,POS_FACEDOWN_DEFENSE))
or (c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable() and Duel.GetLocationCount(tp,LOCATION_SZONE,tp)>0) or (c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable() and Duel.GetLocationCount(tp,LOCATION_SZONE,tp)>0))
end end
function cm.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.sfilter(chkc) end if chkc then return chkc:IsLocation(LOCATION_GRAVE) and chkc:IsControler(tp) and cm.sfilter(chkc) end
......
...@@ -38,11 +38,11 @@ function cm.activate2(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,11 +38,11 @@ function cm.activate2(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst() local tc=g:GetFirst()
if Duel.IsPlayerCanSpecialSummonMonster(tp,m,nil,TYPES_EFFECT_TRAP_MONSTER,650,1850,1,RACE_FAIRY,ATTRIBUTE_DARK) then if Duel.IsPlayerCanSpecialSummonMonster(tp,m,nil,TYPES_EFFECT_TRAP_MONSTER,650,1850,1,RACE_FAIRY,ATTRIBUTE_DARK) then
c:AddMonsterAttribute(TYPE_EFFECT) c:AddMonsterAttribute(TYPE_EFFECT)
if not Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP)then return end if not Duel.SpecialSummon(c,0,tp,tp,true,false,POS_FACEUP) then return end
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local ex=Duel.SelectMatchingCard(tp,cm.exfilter,tp,LOCATION_EXTRA,0,1,1,nil,tc:GetCode()) local ex=Duel.SelectMatchingCard(tp,cm.exfilter,tp,LOCATION_EXTRA,0,1,1,nil,tc:GetCode())
if ex:GetCount()>0 then if ex and ex:GetCount()>0 then
local sc=ex:GetFirst() local sc=ex:GetFirst()
sc:SetMaterial(Group.FromCards(c)) sc:SetMaterial(Group.FromCards(c))
Duel.Overlay(sc,Group.FromCards(c)) Duel.Overlay(sc,Group.FromCards(c))
......
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