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

byd

parent e3fa5bc0
Pipeline #30145 passed with stages
in 33 minutes and 40 seconds
No preview for this file type
...@@ -1185,6 +1185,7 @@ ...@@ -1185,6 +1185,7 @@
33701364 0 --跨世界线勇跃锦标赛 33701364 0 --跨世界线勇跃锦标赛
33701373 0 --面对风暴 33701373 0 --面对风暴
33701394 0 --虚拟YouTuber 响木 青 · 新章 33701394 0 --虚拟YouTuber 响木 青 · 新章
33701397 0 --血本无归
33701402 0 --Niko ~是松饼!~ 33701402 0 --Niko ~是松饼!~
33701419 0 --虚拟YouTuber 夜乃空 33701419 0 --虚拟YouTuber 夜乃空
33701420 0 --VOICEROID 伊达子 33701420 0 --VOICEROID 伊达子
...@@ -1232,7 +1233,6 @@ ...@@ -1232,7 +1233,6 @@
33720259 0 --滴血的同调 33720259 0 --滴血的同调
33720261 0 --散华·岁月的终结 33720261 0 --散华·岁月的终结
33777015 0 --万圣猫·石砂原奈绪 33777015 0 --万圣猫·石砂原奈绪
33701397 0 --血本无归
#339 #339
33910501 0 --蜃流使 安菲特 33910501 0 --蜃流使 安菲特
#351 #351
......
...@@ -25,7 +25,7 @@ function cm.initial_effect(c) ...@@ -25,7 +25,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x820) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsLocation(LOCATION_DECK) or (c:IsLocation(LOCATION_REMOVED) and c:IsFaceup()) return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x820) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and (c:IsLocation(LOCATION_DECK) or (c:IsLocation(LOCATION_REMOVED) and c:IsFaceup()))
end end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function cm.sptg(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
......
...@@ -45,13 +45,13 @@ function cm.filter(c) ...@@ -45,13 +45,13 @@ function cm.filter(c)
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 (e:IsCostChecked() if chk==0 then return (e:IsCostChecked()
or Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK+LOCATION_EXTRA+LOCATION_REMOVED,0,1,nil)) or Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK+LOCATION_EXTRA+LOCATION_REMOVED+LOCATION_GRAVE,0,1,nil))
and (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1)) end and (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1)) end
end end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if not (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1)) then return end if not (Duel.CheckLocation(tp,LOCATION_PZONE,0) or Duel.CheckLocation(tp,LOCATION_PZONE,1)) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local tc=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK+LOCATION_EXTRA+LOCATION_REMOVED,0,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK+LOCATION_EXTRA+LOCATION_REMOVED+LOCATION_GRAVE,0,1,1,nil):GetFirst()
if tc then Duel.MoveToField(tc,tp,tp,LOCATION_PZONE,POS_FACEUP,true) end if tc then Duel.MoveToField(tc,tp,tp,LOCATION_PZONE,POS_FACEUP,true) end
end end
function cm.thfilter2(c) function cm.thfilter2(c)
......
...@@ -127,7 +127,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -127,7 +127,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
if sg1:GetCount()>0 or (sg2~=nil and sg2:GetCount()>0) then fu=1 end if sg1:GetCount()>0 or (sg2~=nil and sg2:GetCount()>0) then fu=1 end
if Duel.IsExistingMatchingCard(s.lkfilter,tp,LOCATION_EXTRA,0,1,nil,mg) if Duel.IsExistingMatchingCard(s.lkfilter,tp,LOCATION_EXTRA,0,1,nil,mg)
then lk=1 end then lk=1 end
if fu>0 and (lk==0 or Duel.SelectOption(tp,aux.Stringid(m,0),aux.Stringid(m,1))==0) then if fu>0 and (lk==0 or Duel.SelectOption(tp,aux.Stringid(id,2),aux.Stringid(id,3))==0) then
local sg=sg1:Clone() local sg=sg1:Clone()
if sg2 then sg:Merge(sg2) end if sg2 then sg:Merge(sg2) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
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