Commit 8c2c7cad authored by mercury233's avatar mercury233

fix

parent 9845ffd0
...@@ -56,7 +56,7 @@ function c73639099.efilter(e,te) ...@@ -56,7 +56,7 @@ function c73639099.efilter(e,te)
return te:IsActiveType(TYPE_TRAP) return te:IsActiveType(TYPE_TRAP)
end end
function c73639099.spcon(e,tp,eg,ep,ev,re,r,rp) function c73639099.spcon(e,tp,eg,ep,ev,re,r,rp)
return re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:GetActiveType()==TYPE_TRAP and e:GetHandler():GetFlagEffect(1) return re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:GetHandler():GetType()==TYPE_TRAP and e:GetHandler():GetFlagEffect(1)
end end
function c73639099.cfilter(c,code) function c73639099.cfilter(c,code)
return c:IsFaceup() and c:IsCode(code) return c:IsFaceup() and c:IsCode(code)
......
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