Commit bc6fcf7d authored by nanahira's avatar nanahira

fix

parent 5bb375fb
...@@ -50,7 +50,7 @@ end ...@@ -50,7 +50,7 @@ end
function cm.cfilter(c,tp) function cm.cfilter(c,tp)
local ty=c:GetSummonType() local ty=c:GetSummonType()
if c:GetSummonPlayer()==tp or c:GetMaterialCount()<=0 then return false end if c:GetSummonPlayer()==tp or c:GetMaterialCount()<=0 then return false end
for i,tty in pairs({SUMMON_TYPE_FUSION+SUMMON_TYPE_SYNCHRO+SUMMON_TYPE_XYZ+SUMMON_TYPE_LINK}) do for i,tty in pairs({SUMMON_TYPE_FUSION,SUMMON_TYPE_SYNCHRO,SUMMON_TYPE_XYZ,SUMMON_TYPE_LINK}) do
if (ty & tty)==tty then return true end if (ty & tty)==tty then return true end
end end
return false return false
......
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