Commit 2c254df1 authored by salix5's avatar salix5

utility

parent 56bc8f37
...@@ -1108,8 +1108,7 @@ function Auxiliary.PendOperation() ...@@ -1108,8 +1108,7 @@ function Auxiliary.PendOperation()
end end
--card effect disable filter --card effect disable filter
function Auxiliary.disfilter1(c) function Auxiliary.disfilter1(c)
return c:IsFaceup() and not c:IsDisabled() return c:IsFaceup() and not c:IsDisabled() and (not c:IsType(TYPE_NORMAL) or bit.band(c:GetOriginalType(),TYPE_EFFECT)~=0)
and (c:IsType(TYPE_SPELL+TYPE_TRAP+TYPE_EFFECT) or bit.band(c:GetOriginalType(),TYPE_EFFECT)~=0)
end end
--reset op of chain attack --reset op of chain attack
function Auxiliary.atrst(e,tp,eg,ep,ev,re,r,rp) function Auxiliary.atrst(e,tp,eg,ep,ev,re,r,rp)
......
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