Commit e5308f62 authored by Tachibana's avatar Tachibana

ndyd

parent 74b0bd04
Pipeline #4461 passed with stages
in 25 minutes and 32 seconds
......@@ -56,7 +56,7 @@ function c20000001.con2(e,c)
if c==nil then return true end
local tp=c:GetControler()
local g=Duel.GetMatchingGroup(c20000001.conf2,tp,LOCATION_REMOVED,0,nil)
return g:CheckSubGroup(c20000001.conf21,5,5,tp,c)
return g:CheckSubGroup(c20000001.conf21,5,5,tp,c) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
end
function c20000001.op2(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.GetMatchingGroup(c20000001.conf2,tp,LOCATION_REMOVED,0,nil)
......@@ -93,7 +93,8 @@ function c20000001.op3(e,tp,eg,ep,ev,re,r,rp)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
c:RegisterEffect(e2)
Duel.BreakEffect()
if Duel.SelectYesNo(tp,aux.Stringid(20000001,2)) then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(c20000001.tgf3),tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(20000001,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local g=Duel.SelectMatchingCard(tp,c20000001.tgf3,tp,LOCATION_GRAVE,0,1,1,nil,tp)
local tc=g:GetFirst()
......
......@@ -6,7 +6,7 @@ function c20000008.initial_effect(c)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UNRELEASABLE_EFFECT)
e2:SetCode(EFFECT_UNRELEASABLE_SUM)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(LOCATION_ONFIELD,0)
e2:SetTarget(aux.TargetBoolFunction(Card.IsCode,20000000))
......@@ -47,6 +47,9 @@ function c20000008.initial_effect(c)
e8:SetCost(aux.bfgcost)
e8:SetOperation(c20000008.op8)
c:RegisterEffect(e8)
local e9=e2:Clone()
e9:SetCode(EFFECT_UNRELEASABLE_NONSUM)
c:RegisterEffect(e9)
end
--e4
function c20000008.va4(e,c,sumtype)
......
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