Commit 7d611f1d authored by Mr.Tan's avatar Mr.Tan

Fix c100226150.lua

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