Commit 3a5f8970 authored by salix5's avatar salix5

disfilter

parent b63d8515
...@@ -944,8 +944,8 @@ function Auxiliary.PendOperation() ...@@ -944,8 +944,8 @@ function Auxiliary.PendOperation()
end end
end end
function Auxiliary.disfilter1(c) function Auxiliary.disfilter1(c)
return (c:IsFaceup() and not c:IsDisabled() and (c:IsType(TYPE_SPELL+TYPE_TRAP+TYPE_EFFECT) or bit.band(c:GetOriginalType(),TYPE_EFFECT)>0)) return c:IsFaceup() and not c:IsDisabled()
or c:IsType(TYPE_TRAPMONSTER) and (c:IsType(TYPE_SPELL+TYPE_TRAP+TYPE_EFFECT) or bit.band(c:GetOriginalType(),TYPE_EFFECT)>0)
end end
function Auxiliary.atrst(e,tp,eg,ep,ev,re,r,rp) function Auxiliary.atrst(e,tp,eg,ep,ev,re,r,rp)
--reset of chain attack --reset of chain attack
......
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