You need to sign in or sign up before continuing.
Commit 716b89cf authored by sidschingis's avatar sidschingis

fix

c47198668 fixed being destroyed by cards that do not target
parent 63234eb2
...@@ -91,7 +91,7 @@ function c47198668.atkop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,7 +91,7 @@ function c47198668.atkop2(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c47198668.efilter(e,re,rp) function c47198668.efilter(e,re,rp)
if not re:IsActiveType(TYPE_SPELL+TYPE_TRAP) or not re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return false end if not re:IsActiveType(TYPE_SPELL+TYPE_TRAP) or re:IsHasProperty(EFFECT_FLAG_CARD_TARGET) then return false end
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS) local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
return not g:IsContains(e:GetHandler()) return not g:IsContains(e:GetHandler())
end end
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