Skip to content

Commit 313b7fb

Browse files
committed
Update cards using Duel.XyzSummon
Use the parameters according to the new way required by the xyz proc
1 parent a6d03d6 commit 313b7fb

33 files changed

+86
-116
lines changed

official/c20285786.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
6969
if #xyzg>0 then
7070
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7171
local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
72-
Duel.XyzSummon(tp,xyz,nil,g)
72+
Duel.XyzSummon(tp,xyz,g,nil,2,2)
7373
end
7474
end

official/c23536866.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
7878
if #xyzg>0 then
7979
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
8080
local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
81-
Duel.XyzSummon(tp,xyz,nil,g)
81+
Duel.XyzSummon(tp,xyz,g,nil,2,2)
8282
end
8383
end

official/c24658418.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
6161
if #xyzg>0 then
6262
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
6363
local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
64-
Duel.XyzSummon(tp,xyz,nil,g,1,99)
64+
Duel.XyzSummon(tp,xyz,nil,g)
6565
end
6666
end

official/c29087919.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
5252
Duel.BreakEffect()
5353
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
5454
local xyzc=xyzg:Select(tp,1,1,nil):GetFirst()
55-
Duel.XyzSummon(tp,xyzc,nil,sg)
55+
Duel.XyzSummon(tp,xyzc,g,nil,#g,#g)
5656
end
57-
end
57+
end

official/c44161893.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
7676
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7777
local xyz=Duel.SelectMatchingCard(tp,s.xyzfilter,tp,LOCATION_EXTRA,0,1,1,nil,sg):GetFirst()
7878
if xyz then
79-
Duel.XyzSummon(tp,xyz,nil,sg)
79+
Duel.XyzSummon(tp,xyz,sg,nil,2,2)
8080
end
8181
end
8282
function s.efcon(e,tp,eg,ep,ev,re,r,rp)
@@ -103,4 +103,4 @@ function s.efop(e,tp,eg,ep,ev,re,r,rp)
103103
e2:SetReset(RESET_EVENT|RESETS_STANDARD)
104104
rc:RegisterEffect(e2,true)
105105
end
106-
end
106+
end

official/c4575541.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
5151
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
5252
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
5353
local sc=g:Select(tp,1,1,nil):GetFirst()
54-
Duel.XyzSummon(tp,sc,nil,mg,2,99)
54+
Duel.XyzSummon(tp,sc,nil,mg)
5555
end
5656
end
5757
end
@@ -71,4 +71,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
7171
if #tg>0 then
7272
Duel.SendtoGrave(tg,REASON_EFFECT|REASON_RETURN)
7373
end
74-
end
74+
end

official/c46005939.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
7474
if xyzg and #xyzg>0 then
7575
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7676
local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
77-
Duel.XyzSummon(tp,xyz,g,g)
77+
Duel.XyzSummon(tp,xyz,g,nil,2,2)
7878
else
7979
if e1 then e1:Reset() end
8080
if e2 then e2:Reset() end

official/c4606229.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
7777
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7878
local xyz=Duel.SelectMatchingCard(tp,s.xyzfilter,tp,LOCATION_EXTRA,0,1,1,nil,g):GetFirst()
7979
if xyz then
80-
Duel.XyzSummon(tp,xyz,nil,g)
80+
Duel.XyzSummon(tp,xyz,g,nil,2,2)
8181
xyz:RegisterFlagEffect(id,RESET_EVENT|RESETS_STANDARD&~RESET_TOFIELD,0,1)
8282
end
8383
if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end

official/c50311058.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
5353
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
5454
local xc=Duel.SelectMatchingCard(tp,Card.IsXyzSummonable,tp,LOCATION_EXTRA,0,1,1,nil,nil,mg):GetFirst()
5555
if xc then
56-
Duel.XyzSummon(tp,xc,nil,mg,1,99)
56+
Duel.XyzSummon(tp,xc,nil,mg)
5757
end
5858
end
5959
function s.gfilter(c)

official/c56611470.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
7171
if #xyzg>0 then
7272
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
7373
local xyz=xyzg:Select(tp,1,1,nil):GetFirst()
74-
Duel.XyzSummon(tp,xyz,nil,g)
74+
Duel.XyzSummon(tp,xyz,g,nil,2,2)
7575
end
7676
end
7777
function s.attg(e,c)
@@ -99,4 +99,4 @@ end
9999
function s.drop(e,tp,eg,ep,ev,re,r,rp)
100100
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
101101
Duel.Draw(p,d,REASON_EFFECT)
102-
end
102+
end

0 commit comments

Comments
 (0)