Commit e71aa648 authored by Tianchenglipu's avatar Tianchenglipu

Update utility.lua

弄错表里了= =
parent 713b8ce3
......@@ -123,7 +123,7 @@ end
function Auxiliary.SynCondition(f1,f2,minct,maxc)
return function(e,c,smat,mg)
if c==nil then return true end
if c:IsFacedown() then return false end
if c:IsFaceup() then return false end
local ft=Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)
local ct=-ft
local minc=minct
......@@ -196,7 +196,7 @@ function Auxiliary.XyzCondition(f,lv,minc,maxc)
--og: use special material
return function(e,c,og)
if c==nil then return true end
if c:IsFacedown() then return false end
if c:IsFaceup() then return false end
local ft=Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)
local ct=-ft
if minc<=ct then return false end
......@@ -234,7 +234,7 @@ end
function Auxiliary.XyzCondition2(f,lv,minc,maxc,alterf,desc,op)
return function(e,c,og)
if c==nil then return true end
if c:IsFacedown() then return false end
if c:IsFaceup() then return false end
local tp=c:GetControler()
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local ct=-ft
......
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