Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
八宫一月
ygopro-scripts
Commits
ca7441c8
Commit
ca7441c8
authored
Dec 10, 2019
by
mercury233
Committed by
nekrozar
Dec 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Duel.SSet (#1262)
* update * Update c25629622.lua
parent
d9777969
Changes
97
Hide whitespace changes
Inline
Side-by-side
Showing
97 changed files
with
6 additions
and
102 deletions
+6
-102
c11074235.lua
c11074235.lua
+0
-1
c14756848.lua
c14756848.lua
+0
-1
c15939229.lua
c15939229.lua
+0
-1
c17475251.lua
c17475251.lua
+0
-1
c18716735.lua
c18716735.lua
+0
-1
c1948619.lua
c1948619.lua
+0
-1
c20618081.lua
c20618081.lua
+0
-1
c23002292.lua
c23002292.lua
+0
-1
c23898021.lua
c23898021.lua
+1
-1
c24413299.lua
c24413299.lua
+0
-1
c24425055.lua
c24425055.lua
+0
-1
c24907044.lua
c24907044.lua
+0
-1
c2521011.lua
c2521011.lua
+0
-1
c25629622.lua
c25629622.lua
+0
-1
c26692769.lua
c26692769.lua
+0
-1
c26949946.lua
c26949946.lua
+0
-1
c29223325.lua
c29223325.lua
+0
-1
c30741503.lua
c30741503.lua
+0
-1
c30929786.lua
c30929786.lua
+0
-1
c32588805.lua
c32588805.lua
+0
-1
c32875265.lua
c32875265.lua
+0
-1
c33256280.lua
c33256280.lua
+0
-1
c35498188.lua
c35498188.lua
+0
-1
c36239585.lua
c36239585.lua
+1
-1
c36429703.lua
c36429703.lua
+0
-1
c36894320.lua
c36894320.lua
+0
-1
c37354507.lua
c37354507.lua
+0
-1
c38363525.lua
c38363525.lua
+0
-1
c3841833.lua
c3841833.lua
+0
-1
c39699564.lua
c39699564.lua
+0
-1
c39752820.lua
c39752820.lua
+0
-1
c41160595.lua
c41160595.lua
+0
-1
c41803903.lua
c41803903.lua
+0
-1
c42149850.lua
c42149850.lua
+0
-1
c43748308.lua
c43748308.lua
+0
-1
c43930492.lua
c43930492.lua
+0
-1
c44133040.lua
c44133040.lua
+0
-1
c44640691.lua
c44640691.lua
+0
-1
c44860890.lua
c44860890.lua
+0
-1
c45803070.lua
c45803070.lua
+0
-1
c46290741.lua
c46290741.lua
+0
-1
c47766694.lua
c47766694.lua
+1
-1
c48086335.lua
c48086335.lua
+0
-1
c494922.lua
c494922.lua
+0
-1
c50237654.lua
c50237654.lua
+1
-1
c51339637.lua
c51339637.lua
+0
-1
c52240819.lua
c52240819.lua
+0
-1
c53143898.lua
c53143898.lua
+0
-1
c56773577.lua
c56773577.lua
+0
-1
c56920308.lua
c56920308.lua
+0
-1
c57314798.lua
c57314798.lua
+0
-2
c59054773.lua
c59054773.lua
+0
-1
c60082869.lua
c60082869.lua
+1
-1
c60473572.lua
c60473572.lua
+0
-1
c60709218.lua
c60709218.lua
+0
-1
c61472381.lua
c61472381.lua
+0
-1
c62694833.lua
c62694833.lua
+0
-2
c6353603.lua
c6353603.lua
+0
-1
c645794.lua
c645794.lua
+0
-1
c64961254.lua
c64961254.lua
+0
-2
c65301952.lua
c65301952.lua
+0
-1
c65330383.lua
c65330383.lua
+0
-1
c65357623.lua
c65357623.lua
+0
-1
c66762372.lua
c66762372.lua
+0
-1
c67829249.lua
c67829249.lua
+0
-1
c69351984.lua
c69351984.lua
+0
-1
c70355994.lua
c70355994.lua
+0
-1
c70564929.lua
c70564929.lua
+0
-1
c70975131.lua
c70975131.lua
+0
-1
c72566043.lua
c72566043.lua
+0
-1
c73468603.lua
c73468603.lua
+0
-2
c73639099.lua
c73639099.lua
+0
-1
c74003290.lua
c74003290.lua
+0
-1
c7480763.lua
c7480763.lua
+0
-1
c75132317.lua
c75132317.lua
+0
-1
c76589815.lua
c76589815.lua
+0
-1
c7868571.lua
c7868571.lua
+0
-1
c79324191.lua
c79324191.lua
+0
-1
c799183.lua
c799183.lua
+0
-1
c80019195.lua
c80019195.lua
+0
-1
c82738277.lua
c82738277.lua
+1
-1
c85800949.lua
c85800949.lua
+0
-1
c8608979.lua
c8608979.lua
+0
-1
c86889202.lua
c86889202.lua
+0
-1
c88032456.lua
c88032456.lua
+0
-1
c88332693.lua
c88332693.lua
+0
-1
c88667504.lua
c88667504.lua
+0
-1
c89856523.lua
c89856523.lua
+0
-1
c90809975.lua
c90809975.lua
+0
-1
c91742238.lua
c91742238.lua
+0
-1
c93294869.lua
c93294869.lua
+0
-2
c93751476.lua
c93751476.lua
+0
-1
c9409625.lua
c9409625.lua
+0
-1
c96381979.lua
c96381979.lua
+0
-1
c96704974.lua
c96704974.lua
+0
-1
c97064649.lua
c97064649.lua
+0
-1
c99004583.lua
c99004583.lua
+0
-1
No files found.
c11074235.lua
View file @
ca7441c8
...
...
@@ -49,7 +49,6 @@ function c11074235.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
sg
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
c14756848.lua
View file @
ca7441c8
...
...
@@ -99,7 +99,6 @@ function c14756848.desop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
14756848
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
c15939229.lua
View file @
ca7441c8
...
...
@@ -90,6 +90,5 @@ function c15939229.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c17475251.lua
View file @
ca7441c8
...
...
@@ -38,7 +38,6 @@ function c17475251.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c17475251
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c17475251
.
cfilter
(
c
)
...
...
c18716735.lua
View file @
ca7441c8
...
...
@@ -53,7 +53,6 @@ function c18716735.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c18716735
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
...
...
c1948619.lua
View file @
ca7441c8
...
...
@@ -54,7 +54,6 @@ function c1948619.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
function
c1948619
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c20618081.lua
View file @
ca7441c8
...
...
@@ -36,7 +36,6 @@ function c20618081.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
function
c20618081
.
thfilter
(
c
,
tp
)
...
...
c23002292.lua
View file @
ca7441c8
...
...
@@ -44,7 +44,6 @@ function c23002292.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
1
-
tp
,
sg
:
GetFirst
())
Duel
.
ConfirmCards
(
tp
,
sg
)
end
end
if
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
...
...
c23898021.lua
View file @
ca7441c8
...
...
@@ -51,6 +51,6 @@ function c23898021.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SET
)
local
tg
=
sg
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
SSet
(
tp
,
tg
:
GetFirst
()
)
Duel
.
SSet
(
tp
,
tg
,
false
)
end
end
c24413299.lua
View file @
ca7441c8
...
...
@@ -61,7 +61,6 @@ function c24413299.operation(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
24413299
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
end
...
...
c24425055.lua
View file @
ca7441c8
...
...
@@ -25,7 +25,6 @@ function c24425055.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
...
...
c24907044.lua
View file @
ca7441c8
...
...
@@ -112,6 +112,5 @@ function c24907044.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c24907044
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c2521011.lua
View file @
ca7441c8
...
...
@@ -57,6 +57,5 @@ function c2521011.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c2521011
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c25629622.lua
View file @
ca7441c8
...
...
@@ -100,7 +100,6 @@ function c25629622.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
c25629622
.
tgop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c25629622
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c26692769.lua
View file @
ca7441c8
...
...
@@ -53,7 +53,6 @@ function c26692769.operation(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
Duel
.
BreakEffect
()
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
end
...
...
c26949946.lua
View file @
ca7441c8
...
...
@@ -77,6 +77,5 @@ function c26949946.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c26949946
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c29223325.lua
View file @
ca7441c8
...
...
@@ -60,7 +60,6 @@ function c29223325.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c29223325
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
...
...
c30741503.lua
View file @
ca7441c8
...
...
@@ -64,7 +64,6 @@ function c30741503.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
sg
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
c30929786.lua
View file @
ca7441c8
...
...
@@ -70,6 +70,5 @@ function c30929786.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c30929786
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c32588805.lua
View file @
ca7441c8
...
...
@@ -51,7 +51,6 @@ function c32588805.setop(e,tp,eg,ep,ev,re,r,rp)
else
g
=
Duel
.
SelectMatchingCard
(
tp
,
c32588805
.
setfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
TYPE_TRAP
+
TYPE_CONTINUOUS
)
end
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c32588805
.
atkfilter
(
c
)
...
...
c32875265.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,6 @@ function c32875265.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c32875265
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
tg
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
end
if
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
...
...
c33256280.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,6 @@ function c33256280.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33256280
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
c35498188.lua
View file @
ca7441c8
...
...
@@ -67,6 +67,5 @@ function c35498188.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
c36239585.lua
View file @
ca7441c8
...
...
@@ -76,11 +76,11 @@ function c36239585.setop(e,tp,eg,ep,ev,re,r,rp)
local
res
=
false
if
tc
:
IsType
(
TYPE_MONSTER
)
then
res
=
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
res
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
else
res
=
Duel
.
SSet
(
tp
,
tc
)
end
if
res
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c36429703.lua
View file @
ca7441c8
...
...
@@ -94,6 +94,5 @@ function c36429703.setop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c36894320.lua
View file @
ca7441c8
...
...
@@ -132,7 +132,6 @@ function c36894320.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
36894320
,
2
))
then
local
sc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SSet
(
tp
,
sc
)
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
end
end
end
c37354507.lua
View file @
ca7441c8
...
...
@@ -36,7 +36,6 @@ function c37354507.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c37354507
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
then
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c37354507
.
tgcon
(
e
)
...
...
c38363525.lua
View file @
ca7441c8
...
...
@@ -57,7 +57,6 @@ function c38363525.setop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c3841833.lua
View file @
ca7441c8
...
...
@@ -39,7 +39,6 @@ function c3841833.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c3841833
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c3841833
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c39699564.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,6 @@ function c39699564.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c39699564
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
:
GetFirst
())
end
end
function
c39699564
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c39752820.lua
View file @
ca7441c8
...
...
@@ -47,7 +47,6 @@ function c39752820.stop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c39752820
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
c41160595.lua
View file @
ca7441c8
...
...
@@ -23,6 +23,5 @@ function c41160595.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c41160595
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c41803903.lua
View file @
ca7441c8
...
...
@@ -67,5 +67,4 @@ function c41803903.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
tp
,
1
,
ct
,
nil
)
Duel
.
SSet
(
tp
,
sg
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
c42149850.lua
View file @
ca7441c8
...
...
@@ -74,7 +74,6 @@ function c42149850.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
SSet
(
tp
,
c
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c43748308.lua
View file @
ca7441c8
...
...
@@ -49,7 +49,6 @@ function c43748308.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c43748308
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c43748308
.
cfilter
(
c
)
...
...
c43930492.lua
View file @
ca7441c8
...
...
@@ -61,6 +61,5 @@ function c43930492.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c44133040.lua
View file @
ca7441c8
...
...
@@ -117,6 +117,5 @@ function c44133040.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
c44640691.lua
View file @
ca7441c8
...
...
@@ -55,7 +55,6 @@ function c44640691.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
c44860890.lua
View file @
ca7441c8
...
...
@@ -34,7 +34,6 @@ function c44860890.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c44860890
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c44860890
.
indtg
(
e
,
c
)
...
...
c45803070.lua
View file @
ca7441c8
...
...
@@ -65,7 +65,6 @@ function c45803070.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
fid
=
e
:
GetHandler
():
GetFieldID
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c46290741.lua
View file @
ca7441c8
...
...
@@ -87,7 +87,6 @@ function c46290741.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
function
c46290741
.
tfilter
(
c
,
tp
)
...
...
c47766694.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,7 @@ function c47766694.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
dp
,
1
,
1
,
nil
)
Duel
.
SSet
(
dp
,
sg
:
GetFirst
()
)
Duel
.
SSet
(
dp
,
sg
,
false
)
end
end
end
...
...
c48086335.lua
View file @
ca7441c8
...
...
@@ -58,6 +58,5 @@ function c48086335.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c494922.lua
View file @
ca7441c8
...
...
@@ -43,7 +43,6 @@ function c494922.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
(
tc
:
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c50237654.lua
View file @
ca7441c8
...
...
@@ -46,7 +46,7 @@ function c50237654.drop(e,tp,eg,ep,ev,re,r,rp)
if
dc
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
dc
:
IsSSetable
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
50237654
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
SSet
(
tp
,
dc
)
Duel
.
SSet
(
tp
,
dc
,
false
)
if
dc
:
IsType
(
TYPE_QUICKPLAY
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c51339637.lua
View file @
ca7441c8
...
...
@@ -73,7 +73,6 @@ function c51339637.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c52240819.lua
View file @
ca7441c8
...
...
@@ -97,6 +97,5 @@ function c52240819.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c53143898.lua
View file @
ca7441c8
...
...
@@ -31,7 +31,6 @@ function c53143898.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c53143898
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c53143898
.
thfilter1
(
c
)
...
...
c56773577.lua
View file @
ca7441c8
...
...
@@ -96,6 +96,5 @@ function c56773577.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c56773577
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c56920308.lua
View file @
ca7441c8
...
...
@@ -85,7 +85,6 @@ function c56920308.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c57314798.lua
View file @
ca7441c8
...
...
@@ -92,11 +92,9 @@ function c57314798.desop(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
g2
:
GetFirst
()
if
tc1
then
Duel
.
SSet
(
tp
,
tc1
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc1
)
end
if
tc2
then
Duel
.
SSet
(
1
-
tp
,
tc2
)
Duel
.
ConfirmCards
(
tp
,
tc2
)
end
end
end
...
...
c59054773.lua
View file @
ca7441c8
...
...
@@ -88,6 +88,5 @@ function c59054773.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
c60082869.lua
View file @
ca7441c8
...
...
@@ -29,7 +29,7 @@ function c60082869.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
sg
:
GetFirst
()
)
Duel
.
SSet
(
tp
,
sg
,
false
)
end
end
end
c60473572.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,6 @@ function c60473572.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c60473572
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
c60709218.lua
View file @
ca7441c8
...
...
@@ -42,7 +42,6 @@ function c60709218.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tc
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
end
c61472381.lua
View file @
ca7441c8
...
...
@@ -43,7 +43,6 @@ function c61472381.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c61472381
.
setfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c61472381
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c62694833.lua
View file @
ca7441c8
...
...
@@ -47,7 +47,6 @@ function c62694833.setop1(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c62694833
.
setfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
:
GetCode
())
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
...
...
@@ -66,6 +65,5 @@ function c62694833.setop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c62694833
.
setfilter3
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c6353603.lua
View file @
ca7441c8
...
...
@@ -36,7 +36,6 @@ function c6353603.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c6353603
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c6353603
.
filter1
(
c
)
...
...
c645794.lua
View file @
ca7441c8
...
...
@@ -44,7 +44,6 @@ function c645794.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
c64961254.lua
View file @
ca7441c8
...
...
@@ -59,10 +59,8 @@ function c64961254.operation(e,tp,eg,ep,ev,re,r,rp)
end
elseif
(
opt
==
1
and
tc
:
IsType
(
TYPE_SPELL
))
then
Duel
.
SSet
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
tp
,
g
)
elseif
(
opt
==
2
and
tc
:
IsType
(
TYPE_TRAP
))
then
Duel
.
SSet
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
tp
,
g
)
else
Duel
.
SendtoHand
(
g
,
1
-
tp
,
REASON_EFFECT
)
Duel
.
ShuffleHand
(
1
-
tp
)
...
...
c65301952.lua
View file @
ca7441c8
...
...
@@ -51,6 +51,5 @@ function c65301952.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65301952
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c65330383.lua
View file @
ca7441c8
...
...
@@ -58,7 +58,6 @@ function c65330383.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
c65357623.lua
View file @
ca7441c8
...
...
@@ -63,7 +63,6 @@ function c65357623.setop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c66762372.lua
View file @
ca7441c8
...
...
@@ -65,7 +65,6 @@ function c66762372.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c66762372
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c66762372
.
synlimit
(
e
,
c
)
...
...
c67829249.lua
View file @
ca7441c8
...
...
@@ -32,7 +32,6 @@ function c67829249.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
c69351984.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,6 @@ function c69351984.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c69351984
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
c70355994.lua
View file @
ca7441c8
...
...
@@ -39,7 +39,6 @@ function c70355994.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c70355994
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c70355994
.
filter1
(
c
)
...
...
c70564929.lua
View file @
ca7441c8
...
...
@@ -48,7 +48,6 @@ function c70564929.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
function
c70564929
.
filter2
(
c
)
...
...
c70975131.lua
View file @
ca7441c8
...
...
@@ -64,6 +64,5 @@ function c70975131.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c70975131
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c72566043.lua
View file @
ca7441c8
...
...
@@ -66,6 +66,5 @@ function c72566043.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c73468603.lua
View file @
ca7441c8
...
...
@@ -27,8 +27,6 @@ function c73468603.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SSet
(
tp
,
tg2
,
1
-
tp
)
tg1
:
GetFirst
():
RegisterFlagEffect
(
73468603
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tg2
:
GetFirst
():
RegisterFlagEffect
(
73468603
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tg1
:
Merge
(
tg2
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg1
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
...
...
c73639099.lua
View file @
ca7441c8
...
...
@@ -95,6 +95,5 @@ function c73639099.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c74003290.lua
View file @
ca7441c8
...
...
@@ -71,7 +71,6 @@ function c74003290.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c7480763.lua
View file @
ca7441c8
...
...
@@ -45,7 +45,6 @@ function c7480763.stop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
local
ct
=
Duel
.
SSet
(
tp
,
g
)
if
ct
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
tc
=
g
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c75132317.lua
View file @
ca7441c8
...
...
@@ -44,7 +44,6 @@ function c75132317.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c75132317
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c75132317
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c76589815.lua
View file @
ca7441c8
...
...
@@ -61,7 +61,6 @@ function c76589815.cfop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
setg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
setg
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
setg
)
end
end
Duel
.
ShuffleHand
(
1
-
tp
)
...
...
c7868571.lua
View file @
ca7441c8
...
...
@@ -40,7 +40,6 @@ function c7868571.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c7868571
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
false
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
c79324191.lua
View file @
ca7441c8
...
...
@@ -37,6 +37,5 @@ function c79324191.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c79324191
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c799183.lua
View file @
ca7441c8
...
...
@@ -51,7 +51,6 @@ function c799183.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c80019195.lua
View file @
ca7441c8
...
...
@@ -59,6 +59,5 @@ function c80019195.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c82738277.lua
View file @
ca7441c8
...
...
@@ -69,7 +69,7 @@ function c82738277.retop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
sg
:
GetFirst
()
)
Duel
.
SSet
(
tp
,
sg
,
false
)
end
end
end
c85800949.lua
View file @
ca7441c8
...
...
@@ -57,7 +57,6 @@ function c85800949.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
...
...
c8608979.lua
View file @
ca7441c8
...
...
@@ -62,6 +62,5 @@ function c8608979.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c8608979
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c86889202.lua
View file @
ca7441c8
...
...
@@ -52,6 +52,5 @@ function c86889202.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c86889202
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c88032456.lua
View file @
ca7441c8
...
...
@@ -49,6 +49,5 @@ function c88032456.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
elseif
(
tc
:
IsType
(
TYPE_FIELD
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
)
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c88332693.lua
View file @
ca7441c8
...
...
@@ -66,7 +66,6 @@ function c88332693.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c88332693
.
setfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
...
...
c88667504.lua
View file @
ca7441c8
...
...
@@ -61,6 +61,5 @@ function c88667504.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c88667504
.
setfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c89856523.lua
View file @
ca7441c8
...
...
@@ -35,7 +35,6 @@ function c89856523.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c89856523
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c89856523
.
atkfilter
(
c
)
...
...
c90809975.lua
View file @
ca7441c8
...
...
@@ -103,7 +103,6 @@ function c90809975.negop(e,tp,eg,ep,ev,re,r,rp)
and
rc
:
IsSSetable
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
90809975
,
4
))
then
Duel
.
BreakEffect
()
Duel
.
SSet
(
tp
,
rc
)
Duel
.
ConfirmCards
(
1
-
tp
,
rc
)
end
end
end
...
...
c91742238.lua
View file @
ca7441c8
...
...
@@ -60,7 +60,6 @@ function c91742238.setop(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
>
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
...
...
c93294869.lua
View file @
ca7441c8
...
...
@@ -36,14 +36,12 @@ function c93294869.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c93294869
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
sg
=
Duel
.
GetMatchingGroup
(
c93294869
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
e
:
GetLabel
()
==
1
and
sg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
93294869
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
tg
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
end
end
...
...
c93751476.lua
View file @
ca7441c8
...
...
@@ -65,6 +65,5 @@ function c93751476.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c93751476
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
c9409625.lua
View file @
ca7441c8
...
...
@@ -96,7 +96,6 @@ function c9409625.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9409625
,
2
))
then
local
sc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SSet
(
tp
,
sc
)
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
end
end
end
c96381979.lua
View file @
ca7441c8
...
...
@@ -50,7 +50,6 @@ function c96381979.setop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c96381979
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
c96381979
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c96704974.lua
View file @
ca7441c8
...
...
@@ -31,7 +31,6 @@ function c96704974.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
...
...
c97064649.lua
View file @
ca7441c8
...
...
@@ -29,7 +29,6 @@ function c97064649.setop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsSSetable
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
...
...
c99004583.lua
View file @
ca7441c8
...
...
@@ -56,6 +56,5 @@ function c99004583.setop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsSSetable
()
then
Duel
.
SSet
(
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment