Commit c5d73f8f authored by wind2009's avatar wind2009

Merge branch 'patch-1' into 'master'

Fix c100226150.lua

See merge request mycard/pre-release-database-cdb!108
parents d0aa737c 7d611f1d
......@@ -30,8 +30,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local mg2=Duel.GetMatchingGroup(s.filter0,tp,LOCATION_EXTRA,0,nil)
if mg2:GetCount()>0 then
mg:Merge(mg2)
aux.FGoalCheckAdditional=s.fcheck
end
aux.FGoalCheckAdditional=s.fcheck
local res=Duel.IsExistingMatchingCard(s.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg,nil,chkf)
aux.FGoalCheckAdditional=nil
if not res then
......@@ -52,8 +52,8 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local mg2=Duel.GetMatchingGroup(s.filter0,tp,LOCATION_EXTRA,0,nil)
if mg2:GetCount()>0 then
mg1:Merge(mg2)
aux.FGoalCheckAdditional=s.fcheck
end
aux.FGoalCheckAdditional=s.fcheck
local sg1=Duel.GetMatchingGroup(s.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
aux.FGoalCheckAdditional=nil
local mg2=nil
......
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