Commit 60f3468c authored by GuGu's avatar GuGu

Update Exlink.lua

parent d09f956c
Pipeline #33475 passed with stage
in 13 seconds
...@@ -49,7 +49,7 @@ function Exlink.LExtraFilter(c,f,lc,tp) ...@@ -49,7 +49,7 @@ function Exlink.LExtraFilter(c,f,lc,tp)
return false return false
end end
function Exlink.LExtraFilter2(c,f,lc,tp) function Exlink.LExtraFilter2(c,f,lc,tp)
if not c:IsCanBeLinkMaterial(lc) or f and not f(c) then return false end if not ((c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsOnField()) or c:IsCanBeLinkMaterial(lc)) or f and not f(c) then return false end
local le={c:IsHasEffect(EFFECT_EXTRA_LINK_MATERIAL,tp)} local le={c:IsHasEffect(EFFECT_EXTRA_LINK_MATERIAL,tp)}
for _,te in pairs(le) do for _,te in pairs(le) do
local tf=te:GetValue() local tf=te:GetValue()
......
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