You need to sign in or sign up before continuing.
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 @@
function c20016.initial_effect(c)
--xyz summon
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
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
......@@ -16,6 +17,9 @@ function c20016.initial_effect(c)
e1:SetOperation(c20016.operation)
c:RegisterEffect(e1)
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)
return c:IsXyzLevel(xyzc,3)
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