Commit cb1aa1be authored by Chen Bill's avatar Chen Bill

fix 魔鍵-マフテア

parent a6b56371
...@@ -68,7 +68,7 @@ function c99426088.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,7 +68,7 @@ function c99426088.target(e,tp,eg,ep,ev,re,r,rp,chk)
rmg2=Duel.GetMatchingGroup(c99426088.rexfilter,tp,LOCATION_DECK,0,nil) rmg2=Duel.GetMatchingGroup(c99426088.rexfilter,tp,LOCATION_DECK,0,nil)
end end
aux.RCheckAdditional=c99426088.frcheck aux.RCheckAdditional=c99426088.frcheck
aux.RGCheckAdditional=c99426088.rgcheck aux.RGCheckAdditional=c99426088.gcheck
res=Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,c99426088.rfilter,e,tp,rmg1,rmg2,Card.GetLevel,"Greater") res=Duel.IsExistingMatchingCard(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,1,nil,c99426088.rfilter,e,tp,rmg1,rmg2,Card.GetLevel,"Greater")
aux.RCheckAdditional=nil aux.RCheckAdditional=nil
aux.RGCheckAdditional=nil aux.RGCheckAdditional=nil
...@@ -110,7 +110,7 @@ function c99426088.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -110,7 +110,7 @@ function c99426088.activate(e,tp,eg,ep,ev,re,r,rp)
rmg2=Duel.GetMatchingGroup(c99426088.rexfilter,tp,LOCATION_DECK,0,nil) rmg2=Duel.GetMatchingGroup(c99426088.rexfilter,tp,LOCATION_DECK,0,nil)
end end
aux.RCheckAdditional=c99426088.frcheck aux.RCheckAdditional=c99426088.frcheck
aux.RGCheckAdditional=c99426088.rgcheck aux.RGCheckAdditional=c99426088.gcheck
local rsg=Duel.GetMatchingGroup(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,nil,c99426088.rfilter,e,tp,rmg1,rmg2,Card.GetLevel,"Greater") local rsg=Duel.GetMatchingGroup(aux.RitualUltimateFilter,tp,LOCATION_HAND,0,nil,c99426088.rfilter,e,tp,rmg1,rmg2,Card.GetLevel,"Greater")
aux.RCheckAdditional=nil aux.RCheckAdditional=nil
aux.RGCheckAdditional=nil aux.RGCheckAdditional=nil
...@@ -158,7 +158,7 @@ function c99426088.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -158,7 +158,7 @@ function c99426088.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tc=rsg:Select(tp,1,1,nil):GetFirst() local tc=rsg:Select(tp,1,1,nil):GetFirst()
aux.RCheckAdditional=c99426088.frcheck aux.RCheckAdditional=c99426088.frcheck
aux.RGCheckAdditional=c99426088.rgcheck aux.RGCheckAdditional=c99426088.gcheck
local rmg=rmg1:Filter(Card.IsCanBeRitualMaterial,tc,tc) local rmg=rmg1:Filter(Card.IsCanBeRitualMaterial,tc,tc)
if rmg2 then rmg:Merge(rmg2) end if rmg2 then rmg:Merge(rmg2) end
if tc.mat_filter then if tc.mat_filter then
......
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