Commit b1fce4ae authored by mercury233's avatar mercury233 Committed by GitHub

fix

parent 00ae5100
......@@ -17,7 +17,7 @@ function c30426226.target(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,LOCATION_MZONE)
local g1=g:Filter(Card.IsControler,nil,tp)
local g2=g:Filter(Card.IsControler,nil,1-tp)
if chk==0 then return g1:GetCount()==g2:GetCount()
if chk==0 then return g1:GetCount()>0 and g1:GetCount()==g2:GetCount()
and g:FilterCount(c30426226.filter,nil)==0
and Duel.GetMZoneCount(tp,g1,tp,LOCATION_REASON_CONTROL)>=g2:GetCount()
and Duel.GetMZoneCount(1-tp,g2,1-tp,LOCATION_REASON_CONTROL)>=g1:GetCount() 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