Commit e096e235 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent ad1284ff
expansions/pics/1102000.jpg

37.5 KB | W: | H:

expansions/pics/1102000.jpg

82.3 KB | W: | H:

expansions/pics/1102000.jpg
expansions/pics/1102000.jpg
expansions/pics/1102000.jpg
expansions/pics/1102000.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/1102010.jpg

37.8 KB | W: | H:

expansions/pics/1102010.jpg

85.7 KB | W: | H:

expansions/pics/1102010.jpg
expansions/pics/1102010.jpg
expansions/pics/1102010.jpg
expansions/pics/1102010.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/1102017.jpg

39.3 KB | W: | H:

expansions/pics/1102017.jpg

88 KB | W: | H:

expansions/pics/1102017.jpg
expansions/pics/1102017.jpg
expansions/pics/1102017.jpg
expansions/pics/1102017.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -14,6 +14,7 @@ function cm.initial_effect(c) ...@@ -14,6 +14,7 @@ function cm.initial_effect(c)
e1:SetOperation(cm.regop) e1:SetOperation(cm.regop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
s.has_text_type=TYPE_UNION
function cm.regop(e,tp,eg,ep,ev,re,r,rp) function cm.regop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
......
...@@ -19,6 +19,7 @@ function cm.initial_effect(c) ...@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e4:SetOperation(cm.unop) e4:SetOperation(cm.unop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.has_text_type=TYPE_UNION
function cm.uncon(e,tp,eg,ep,ev,re,r,rp) function cm.uncon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_SZONE) and c:GetPreviousSequence()<5 return c:IsPreviousLocation(LOCATION_SZONE) and c:GetPreviousSequence()<5
......
...@@ -65,6 +65,7 @@ function cm.initial_effect(c) ...@@ -65,6 +65,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.thop) e2:SetOperation(cm.thop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.xyzfilter(c) function cm.xyzfilter(c)
return c:IsFaceup() and (c:GetOriginalRace()&RACE_MACHINE~=0 or not c:IsLocation(LOCATION_MZONE)) and (c:IsRace(RACE_MACHINE) or not c:IsLocation(LOCATION_SZONE)) return c:IsFaceup() and (c:GetOriginalRace()&RACE_MACHINE~=0 or not c:IsLocation(LOCATION_MZONE)) and (c:IsRace(RACE_MACHINE) or not c:IsLocation(LOCATION_SZONE))
end end
......
...@@ -29,6 +29,7 @@ function cm.initial_effect(c) ...@@ -29,6 +29,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop) e2:SetOperation(cm.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.filter(c,e,tp,zone) function cm.filter(c,e,tp,zone)
return c:IsFaceup() and c:IsSetCard(0xc532) and c:GetSequence()<5 and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp,zone) return c:IsFaceup() and c:IsSetCard(0xc532) and c:GetSequence()<5 and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP,tp,zone)
end end
......
...@@ -77,6 +77,7 @@ function cm.initial_effect(c) ...@@ -77,6 +77,7 @@ function cm.initial_effect(c)
e3:SetOperation(cm.tgop) e3:SetOperation(cm.tgop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
s.has_text_type=TYPE_UNION
function cm.xyzfilter(c) function cm.xyzfilter(c)
return c:IsFaceup() and c:IsOriginalSetCard(0xc532) return c:IsFaceup() and c:IsOriginalSetCard(0xc532)
end end
......
...@@ -19,6 +19,7 @@ function cm.initial_effect(c) ...@@ -19,6 +19,7 @@ function cm.initial_effect(c)
e4:SetOperation(cm.unop) e4:SetOperation(cm.unop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.has_text_type=TYPE_UNION
function cm.efilter(e,te) function cm.efilter(e,te)
if te:GetHandlerPlayer()==e:GetHandlerPlayer() or not te:IsActivated() then return false end if te:GetHandlerPlayer()==e:GetHandlerPlayer() or not te:IsActivated() then return false end
if not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end if not te:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return true end
......
...@@ -29,6 +29,7 @@ function cm.initial_effect(c) ...@@ -29,6 +29,7 @@ function cm.initial_effect(c)
e3:SetCost(cm.cost) e3:SetCost(cm.cost)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
s.has_text_type=TYPE_UNION
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED) end if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED) end
Duel.SendtoGrave(e:GetHandler(),REASON_COST) Duel.SendtoGrave(e:GetHandler(),REASON_COST)
......
...@@ -27,6 +27,7 @@ function cm.initial_effect(c) ...@@ -27,6 +27,7 @@ function cm.initial_effect(c)
e5:SetOperation(cm.thop) e5:SetOperation(cm.thop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
s.has_text_type=TYPE_UNION
function cm.distg(e,c) function cm.distg(e,c)
if c:GetCardTargetCount()==0 then return false end if c:GetCardTargetCount()==0 then return false end
local eq=e:GetHandler():GetEquipTarget() local eq=e:GetHandler():GetEquipTarget()
......
...@@ -4,7 +4,7 @@ cm.name="迅征啼鸟 暮色匕首" ...@@ -4,7 +4,7 @@ cm.name="迅征啼鸟 暮色匕首"
if not require and dofile then function require(str) return dofile(str..".lua") end end if not require and dofile then function require(str) return dofile(str..".lua") end end
if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end if not pcall(function() require("expansions/script/c53702500") end) then require("script/c53702500") end
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_MACHINE),2,2) aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xc532),2,2)
SNNM.AnouguryLink(c) SNNM.AnouguryLink(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
...@@ -24,6 +24,7 @@ function cm.initial_effect(c) ...@@ -24,6 +24,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.operation) e2:SetOperation(cm.operation)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.datg(e,c) function cm.datg(e,c)
return e:GetHandler():GetLinkedGroup():IsContains(c) and c:GetEquipGroup():IsExists(Card.IsSetCard,1,nil,0xc532) return e:GetHandler():GetLinkedGroup():IsContains(c) and c:GetEquipGroup():IsExists(Card.IsSetCard,1,nil,0xc532)
end end
......
...@@ -21,6 +21,7 @@ function cm.initial_effect(c) ...@@ -21,6 +21,7 @@ function cm.initial_effect(c)
e5:SetCode(EVENT_SPSUMMON_SUCCESS) e5:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
s.has_text_type=TYPE_UNION
function cm.cafilter(c) function cm.cafilter(c)
return c:IsType(TYPE_UNION) and c:IsRace(RACE_MACHINE) and c:IsSummonable(true,nil) return c:IsType(TYPE_UNION) and c:IsRace(RACE_MACHINE) and c:IsSummonable(true,nil)
end end
......
...@@ -28,6 +28,7 @@ function cm.initial_effect(c) ...@@ -28,6 +28,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop) e2:SetOperation(cm.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.filter1(c,e,tp,zone) function cm.filter1(c,e,tp,zone)
return c:IsFaceup() and c:IsSetCard(0xc532) and c:GetOriginalType()&TYPE_MONSTER~=0 and Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c,zone) and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) return c:IsFaceup() and c:IsSetCard(0xc532) and c:GetOriginalType()&TYPE_MONSTER~=0 and Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c,zone) and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
end end
......
...@@ -29,6 +29,7 @@ function cm.initial_effect(c) ...@@ -29,6 +29,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.disop) e2:SetOperation(cm.disop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.tgcon(e,tp,eg,ep,ev,re,r,rp) function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(function(c)return c:GetOriginalType()&TYPE_UNION==TYPE_UNION end,1,nil) return eg:IsExists(function(c)return c:GetOriginalType()&TYPE_UNION==TYPE_UNION end,1,nil)
end end
......
...@@ -45,6 +45,7 @@ function cm.initial_effect(c) ...@@ -45,6 +45,7 @@ function cm.initial_effect(c)
e5:SetOperation(cm.chainop) e5:SetOperation(cm.chainop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
s.has_text_type=TYPE_UNION
function cm.adjustop(e,tp,eg,ep,ev,re,r,rp) function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(function(c,tp)return c:IsFaceup() and c:IsType(TYPE_UNION) and Duel.GetFlagEffect(tp,m+c:GetOriginalCode())==0 end,tp,LOCATION_ONFIELD,0,nil,tp) local g=Duel.GetMatchingGroup(function(c,tp)return c:IsFaceup() and c:IsType(TYPE_UNION) and Duel.GetFlagEffect(tp,m+c:GetOriginalCode())==0 end,tp,LOCATION_ONFIELD,0,nil,tp)
if #g==0 then return end if #g==0 then return end
...@@ -95,4 +96,4 @@ end ...@@ -95,4 +96,4 @@ end
function cm.chainop(e,tp,eg,ep,ev,re,r,rp) function cm.chainop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
if rc:GetOriginalType()&TYPE_UNION>0 and rc:IsOnField() and rc:IsControler(tp) then Duel.SetChainLimit(function(e,rp,tp)return tp==rp and not (e:GetHandler():IsType(TYPE_MONSTER) and e:GetHandler():IsOnField())end) end if rc:GetOriginalType()&TYPE_UNION>0 and rc:IsOnField() and rc:IsControler(tp) then Duel.SetChainLimit(function(e,rp,tp)return tp==rp and not (e:GetHandler():IsType(TYPE_MONSTER) and e:GetHandler():IsOnField())end) end
end end
\ No newline at end of file
...@@ -75,6 +75,7 @@ function cm.initial_effect(c) ...@@ -75,6 +75,7 @@ function cm.initial_effect(c)
e3:SetOperation(cm.spop) e3:SetOperation(cm.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
s.has_text_type=TYPE_UNION
function cm.xyzfilter(c) function cm.xyzfilter(c)
return c:IsFaceup() and (c:GetOriginalType()&TYPE_UNION~=0 or not c:IsLocation(LOCATION_MZONE)) and (c:IsType(TYPE_UNION) or not c:IsLocation(LOCATION_SZONE)) return c:IsFaceup() and (c:GetOriginalType()&TYPE_UNION~=0 or not c:IsLocation(LOCATION_MZONE)) and (c:IsType(TYPE_UNION) or not c:IsLocation(LOCATION_SZONE))
end end
......
...@@ -29,6 +29,7 @@ function cm.initial_effect(c) ...@@ -29,6 +29,7 @@ function cm.initial_effect(c)
e3:SetOperation(cm.eqop) e3:SetOperation(cm.eqop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
s.has_text_type=TYPE_UNION
function cm.matfilter(c) function cm.matfilter(c)
return (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) and c:GetOriginalType()&TYPE_UNION~=0 and c:IsCanOverlay() return (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) and c:GetOriginalType()&TYPE_UNION~=0 and c:IsCanOverlay()
end end
......
...@@ -28,6 +28,7 @@ function cm.initial_effect(c) ...@@ -28,6 +28,7 @@ function cm.initial_effect(c)
e3:SetCost(cm.cost) e3:SetCost(cm.cost)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
s.has_text_type=TYPE_UNION
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED) end if chk==0 then return e:GetHandler():IsAbleToGraveAsCost() and e:GetHandler():IsStatus(STATUS_EFFECT_ENABLED) end
Duel.SendtoGrave(e:GetHandler(),REASON_COST) Duel.SendtoGrave(e:GetHandler(),REASON_COST)
......
...@@ -22,6 +22,7 @@ function cm.initial_effect(c) ...@@ -22,6 +22,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop) e2:SetOperation(cm.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(100) e:SetLabel(100)
if chk==0 then return true end if chk==0 then return true end
......
...@@ -28,6 +28,7 @@ function cm.initial_effect(c) ...@@ -28,6 +28,7 @@ function cm.initial_effect(c)
e2:SetOperation(cm.negop) e2:SetOperation(cm.negop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
s.has_text_type=TYPE_UNION
function cm.atktg(e,c) function cm.atktg(e,c)
local lg1=c:GetLinkedGroup() local lg1=c:GetLinkedGroup()
local lg2=e:GetHandler():GetLinkedGroup() local lg2=e:GetHandler():GetLinkedGroup()
......
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