Skip to content

Commit 6eea0fb

Browse files
committed
Fix Geargia Change
1 parent 7b1186b commit 6eea0fb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

official/c29087919.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ s.listed_series={SET_GEARGIANO}
1818
function s.gyspfilter(c,e,tp)
1919
return c:IsSetCard(SET_GEARGIANO) and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
2020
end
21-
function s.xyzfilter(c,mg,ct)
22-
return c:IsXyzSummonable(nil,mg,ct,ct)
21+
function s.xyzfilter(c,mg,minct,maxct)
22+
return c:IsXyzSummonable(nil,mg,minct,maxct)
2323
end
2424
function s.rescon(exg)
2525
return function(sg)
2626
if #sg<2 then return false end
2727
if not sg:CheckDifferentProperty(Card.GetCode) then return false,false end
28-
return sg:GetClassCount(Card.GetCode)==#sg and exg:IsExists(s.xyzfilter,tp,LOCATION_EXTRA,1,nil,sg,#sg)
28+
return exg:IsExists(s.xyzfilter,1,nil,sg,#sg,#sg)
2929
end
3030
end
3131
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
3232
if chkc then return false end
33-
local mg=Duel.GetMatchingGroup(s.filter,tp,LOCATION_GRAVE,0,nil,e,tp)
33+
local mg=Duel.GetMatchingGroup(s.gyspfilter,tp,LOCATION_GRAVE,0,nil,e,tp)
3434
local ct=Duel.GetLocationCount(tp,LOCATION_MZONE)
35-
local exg=Duel.GetMatchingGroup(s.xyzfilter,tp,LOCATION_EXTRA,0,nil,mg,ct)
35+
local exg=Duel.GetMatchingGroup(s.xyzfilter,tp,LOCATION_EXTRA,0,nil,mg,1,ct)
3636
local rescon=s.rescon(exg)
3737
if chk==0 then return Duel.IsPlayerCanSpecialSummonCount(tp,2)
3838
and not Duel.IsPlayerAffectedByEffect(tp,CARD_BLUEEYES_SPIRIT)
@@ -51,11 +51,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
5151
end
5252
local ct=Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
5353
if ct<1 then return end
54-
local xyzg=Duel.GetMatchingGroup(s.xyzfilter,tp,LOCATION_EXTRA,0,nil,sg,ct)
54+
local xyzg=Duel.GetMatchingGroup(s.xyzfilter,tp,LOCATION_EXTRA,0,nil,sg,ct,ct)
5555
if #xyzg>0 then
5656
Duel.BreakEffect()
5757
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
5858
local xyzc=xyzg:Select(tp,1,1,nil):GetFirst()
59-
Duel.XyzSummon(tp,xyzc,g,nil,#g,#g)
59+
Duel.XyzSummon(tp,xyzc,sg,nil,#sg,#sg)
6060
end
6161
end

0 commit comments

Comments
 (0)