Commit 17825e74 authored by mercury233's avatar mercury233 Committed by GitHub

Revert "fix aux.disfilter1 (#1659)" (#1660)

Fix won't disable spell & trap
parent 62d2821c
......@@ -2155,7 +2155,7 @@ function Auxiliary.ChangeBattleDamage(player,value)
end
--card effect disable filter(target)
function Auxiliary.disfilter1(c)
return c:IsFaceup() and not c:IsDisabled() and (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
return c:IsFaceup() and not c:IsDisabled() and (not c:IsType(TYPE_NORMAL) or c:GetOriginalType()&TYPE_EFFECT~=0)
end
--condition of EVENT_BATTLE_DESTROYING
function Auxiliary.bdcon(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