Commit 247a9e8b authored by GuGu's avatar GuGu

Update c20016.lua

parent f69424d4
Pipeline #28328 passed with stage
in 17 seconds
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
function c20016.initial_effect(c) function c20016.initial_effect(c)
--xyz summon --xyz summon
c:EnableReviveLimit() c:EnableReviveLimit()
Nef.AddXyzProcedureCustom(c,c20016.mfilter,c20016.xyzcheck,1,2) aux.AddXyzProcedure(c,nil,3,2,c20016.ovfilter,aux.Stringid(74562021,1))
--Nef.AddXyzProcedureCustom(c,c20016.mfilter,c20016.xyzcheck,1,2)
--remove --remove
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE) e1:SetCategory(CATEGORY_REMOVE)
...@@ -16,6 +17,9 @@ function c20016.initial_effect(c) ...@@ -16,6 +17,9 @@ function c20016.initial_effect(c)
e1:SetOperation(c20016.operation) e1:SetOperation(c20016.operation)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c20016.ovfilter(c)
return c:IsFaceup() and c:IsSetCard(0x123) and c:IsXyzLevel(nil,3) and c:IsAttribute(ATTRIBUTE_LIGHT+ATTRIBUTE_DARK)
end
function c20016.mfilter(c,xyzc) function c20016.mfilter(c,xyzc)
return c:IsXyzLevel(xyzc,3) return c:IsXyzLevel(xyzc,3)
end end
......
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