Commit 532e1102 authored by 聖園ミカ's avatar 聖園ミカ 🐟

54188

parent d873ee30
Pipeline #30927 failed with stages
in 10 seconds
No preview for this file type
...@@ -16,7 +16,7 @@ function c65810095.initial_effect(c) ...@@ -16,7 +16,7 @@ function c65810095.initial_effect(c)
e2:SetCode(EFFECT_SPSUMMON_PROC) e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetRange(LOCATION_GRAVE) e2:SetRange(LOCATION_GRAVE)
e2:SetCondition(c65810095.spcon) e2:SetCondition(c65810095.spcon)
e1:SetOperation(c65810095.spop) e2:SetOperation(c65810095.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--加攻 --加攻
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
......
...@@ -28,6 +28,7 @@ end ...@@ -28,6 +28,7 @@ end
function c65820050.spfilter(c,e,tp) function c65820050.spfilter(c,e,tp)
return c:IsCode(65820000,65820005) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsCode(65820000,65820005) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
aux.NecroValleyFilter()
end end
function c65820050.target(e,tp,eg,ep,ev,re,r,rp,chk) function c65820050.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
...@@ -53,7 +54,7 @@ function c65820050.filter1(c) ...@@ -53,7 +54,7 @@ function c65820050.filter1(c)
return c:IsDiscardable(REASON_EFFECT) return c:IsDiscardable(REASON_EFFECT)
end end
function c65820050.nbfilter(c) function c65820050.nbfilter(c)
return aux.NegateAnyFilter(c) and c:IsAbleToRemove(tp,POS_FACEDOWN,REASON_EFFECT) and c:IsFaceup() return (aux.NegateAnyFilter(c) or c:IsAbleToRemove(tp,POS_FACEDOWN,REASON_EFFECT)) and c:IsFaceup()
end end
function c65820050.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c65820050.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler() local c=e:GetHandler()
...@@ -67,7 +68,7 @@ end ...@@ -67,7 +68,7 @@ end
function c65820050.setop(e,tp,eg,ep,ev,re,r,rp) function c65820050.setop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if Duel.DiscardHand(tp,c65820050.filter1,1,1,REASON_EFFECT+REASON_DISCARD,nil)~=0 then if Duel.DiscardHand(tp,c65820050.filter1,1,1,REASON_EFFECT+REASON_DISCARD,nil)~=0 then
if tc:IsRelateToEffect(e) and tc:IsFaceup() and tc:IsCanBeDisabledByEffect(e) then if tc:IsRelateToEffect(e) and tc:IsFaceup() then
local c=e:GetHandler() local c=e:GetHandler()
Duel.AdjustInstantly() Duel.AdjustInstantly()
Duel.NegateRelatedChain(tc,RESET_TURN_SET) Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......
...@@ -21,7 +21,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -21,7 +21,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local mea=Duel.Destroy(g,REASON_EFFECT) local mea=Duel.Destroy(g,REASON_EFFECT)
if mea>0 then if mea>0 then
local dg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil) local dg=Duel.GetMatchingGroup(aux.TRUE,tp,0,LOCATION_ONFIELD,nil)
if dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(81010015,0)) then if dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local sg=dg:Select(tp,1,mea,nil) local sg=dg:Select(tp,1,mea,nil)
......
...@@ -20,7 +20,7 @@ end ...@@ -20,7 +20,7 @@ end
function cm.activate(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0) local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
if Duel.Destroy(g,REASON_EFFECT)~=0 then if Duel.Destroy(g,REASON_EFFECT)~=0 then
local dg=Duel.IsExistingMatchingCard(Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,nil) local dg=Duel.GetMatchingGroup(Card.IsControlerCanBeChanged,tp,0,LOCATION_MZONE,1,nil)
if dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then if dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONTROL)
......
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