Commit dc6093e1 authored by Nemo Ma's avatar Nemo Ma

fix

parent 42c5622f
......@@ -225,6 +225,7 @@ function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.SendtoGrave(eg,REASON_EFFECT)
end
......
......@@ -114,6 +114,7 @@ function cm.effectfilter(e,ct)
return e:GetHandler():GetEquipGroup():IsContains(te:GetHandler())
end
function cm.immcon(e)
local c=e:GetHandler()
return Duel.GetMatchingGroupCount(cm.eqfilter,tp,LOCATION_SZONE,LOCATION_SZONE,nil,c)>=3
end
function cm.immfilter(e,te)
......
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