Commit 6227f8ca authored by mercury233's avatar mercury233

update Auxiliary.XyzAlterFilter

parent 77b57af5
...@@ -717,7 +717,7 @@ function Auxiliary.TuneMagicianCheckAdditionalX(ecode) ...@@ -717,7 +717,7 @@ function Auxiliary.TuneMagicianCheckAdditionalX(ecode)
end end
end end
function Auxiliary.XyzAlterFilter(c,alterf,xyzc,e,tp,alterop) function Auxiliary.XyzAlterFilter(c,alterf,xyzc,e,tp,alterop)
return alterf(c) and c:IsCanBeXyzMaterial(xyzc) and Duel.GetLocationCountFromEx(tp,tp,c,xyzc)>0 return alterf(c,e,tp,xyzc) and c:IsCanBeXyzMaterial(xyzc) and Duel.GetLocationCountFromEx(tp,tp,c,xyzc)>0
and Auxiliary.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) and (not alterop or alterop(e,tp,0,c)) and Auxiliary.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) and (not alterop or alterop(e,tp,0,c))
end end
--Xyz monster, lv k*n --Xyz monster, lv k*n
......
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