Commit 76be39b4 authored by GuGu's avatar GuGu

Update c21142.lua 融合检测

parent 038fe908
Pipeline #21644 passed with stage
in 1 minute and 20 seconds
......@@ -86,10 +86,10 @@ function c21142.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c21142.filter0(c)
return c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
return c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and c:IsType(TYPE_MONSTER)
end
function c21142.filter1(c,e)
return c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e)
return c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e) and c:IsType(TYPE_MONSTER)
end
function c21142.filter2(c,e,tp,m,f,gc)
return c:IsType(TYPE_FUSION) and (not f or f(c))
......
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