Commit 33f908b0 authored by nanahira's avatar nanahira

fix

parent c1687ae8
...@@ -290,7 +290,7 @@ function cm.MustMaterialCheck(v,tp,code) ...@@ -290,7 +290,7 @@ function cm.MustMaterialCheck(v,tp,code)
local ce={Duel.IsPlayerAffectedByEffect(tp,code)} local ce={Duel.IsPlayerAffectedByEffect(tp,code)}
for _,te in ipairs(te) do for _,te in ipairs(te) do
if (cm.GetValueType(v)=="Card" and v~=te:GetHandler()) if (cm.GetValueType(v)=="Card" and v~=te:GetHandler())
or (cm.GetValueType(v)=="Group" and not v:IsExists(te:GetHandler()) then return false end or (cm.GetValueType(v)=="Group" and not v:IsExists(te:GetHandler())) then return false end
end end
return true return true
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