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
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
MyCard
ygopro-scripts
Commits
32cd639f
Commit
32cd639f
authored
Jun 24, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
these cards do not contain effects of confirming deck/hand
parent
1ac9d6f0
Changes
32
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
0 additions
and
267 deletions
+0
-267
c10833828.lua
c10833828.lua
+0
-9
c12071500.lua
c12071500.lua
+0
-13
c1264319.lua
c1264319.lua
+0
-9
c15800838.lua
c15800838.lua
+0
-4
c23299957.lua
c23299957.lua
+0
-9
c23998625.lua
c23998625.lua
+0
-5
c24094653.lua
c24094653.lua
+0
-9
c24317029.lua
c24317029.lua
+0
-5
c31516413.lua
c31516413.lua
+0
-8
c3300267.lua
c3300267.lua
+0
-8
c33550694.lua
c33550694.lua
+0
-9
c34325937.lua
c34325937.lua
+0
-9
c37630732.lua
c37630732.lua
+0
-9
c39238953.lua
c39238953.lua
+0
-2
c4022819.lua
c4022819.lua
+0
-8
c41639001.lua
c41639001.lua
+0
-8
c43698897.lua
c43698897.lua
+0
-9
c44394295.lua
c44394295.lua
+0
-14
c44771289.lua
c44771289.lua
+0
-9
c48144509.lua
c48144509.lua
+0
-9
c51858306.lua
c51858306.lua
+0
-5
c52963531.lua
c52963531.lua
+0
-9
c55824220.lua
c55824220.lua
+0
-9
c60226558.lua
c60226558.lua
+0
-9
c6417578.lua
c6417578.lua
+0
-9
c65331686.lua
c65331686.lua
+0
-9
c73360025.lua
c73360025.lua
+0
-13
c73594093.lua
c73594093.lua
+0
-9
c75141056.lua
c75141056.lua
+0
-5
c77901552.lua
c77901552.lua
+0
-8
c78033100.lua
c78033100.lua
+0
-8
c94820406.lua
c94820406.lua
+0
-9
No files found.
c10833828.lua
View file @
32cd639f
...
...
@@ -140,15 +140,6 @@ function c10833828.spop2(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c10833828
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c12071500.lua
View file @
32cd639f
...
...
@@ -68,18 +68,5 @@ function c12071500.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
,
SUMMON_TYPE_FUSION
+
0x10
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
local
ct
=
cg1
:
GetCount
()
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
30459350
)
then
ct
=
ct
+
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
TYPE_MONSTER
)
end
if
ct
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c1264319.lua
View file @
32cd639f
...
...
@@ -76,15 +76,6 @@ function c1264319.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c1264319
.
thfilter
(
c
)
...
...
c15800838.lua
View file @
32cd639f
...
...
@@ -21,15 +21,11 @@ end
function
c15800838
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_HAND
,
nil
,
ac
)
local
hg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
Duel
.
ConfirmCards
(
tp
,
hg
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
ShuffleHand
(
1
-
tp
)
else
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
dg
=
sg
:
RandomSelect
(
tp
,
1
)
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
ShuffleHand
(
1
-
tp
)
end
end
c23299957.lua
View file @
32cd639f
...
...
@@ -82,14 +82,5 @@ function c23299957.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetCode
(
EFFECT_CANNOT_DISEFFECT
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
tc
:
RegisterEffect
(
e3
,
true
)
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c23998625.lua
View file @
32cd639f
...
...
@@ -80,10 +80,5 @@ function c23998625.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Overlay
(
tc
,
cg
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
else
local
cg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
end
end
c24094653.lua
View file @
32cd639f
...
...
@@ -65,14 +65,5 @@ function c24094653.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c24317029.lua
View file @
32cd639f
...
...
@@ -22,10 +22,5 @@ function c24317029.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c24317029
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
tp
,
cg
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c31516413.lua
View file @
32cd639f
...
...
@@ -83,13 +83,5 @@ function c31516413.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ConfirmCards
(
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c3300267.lua
View file @
32cd639f
...
...
@@ -86,13 +86,5 @@ function c3300267.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ConfirmCards
(
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c33550694.lua
View file @
32cd639f
...
...
@@ -76,14 +76,5 @@ function c33550694.operation(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c34325937.lua
View file @
32cd639f
...
...
@@ -79,15 +79,6 @@ function c34325937.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c34325937
.
cfilter
(
c
)
...
...
c37630732.lua
View file @
32cd639f
...
...
@@ -81,15 +81,6 @@ function c37630732.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetOperation
(
c37630732
.
damop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c37630732
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c39238953.lua
View file @
32cd639f
...
...
@@ -52,8 +52,6 @@ function c39238953.activate(e,tp,eg,ep,ev,re,r,rp)
elseif
sel
==
2
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_ATTACK
)
end
else
Duel
.
ConfirmCards
(
tp
,
g
)
end
Duel
.
ShuffleDeck
(
1
-
tp
)
end
c4022819.lua
View file @
32cd639f
...
...
@@ -96,13 +96,5 @@ function c4022819.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ConfirmCards
(
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c41639001.lua
View file @
32cd639f
...
...
@@ -44,13 +44,5 @@ function c41639001.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ConfirmCards
(
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c43698897.lua
View file @
32cd639f
...
...
@@ -92,15 +92,6 @@ function c43698897.spop(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c43698897
.
thfilter
(
c
)
...
...
c44394295.lua
View file @
32cd639f
...
...
@@ -80,19 +80,5 @@ function c44394295.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
local
cg3
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg3
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
if
bit
.
band
(
loc
,
LOCATION_DECK
)
==
LOCATION_DECK
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_DISCARD_DECK
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleDeck
(
tp
)
end
Duel
.
ConfirmCards
(
1
-
tp
,
cg3
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c44771289.lua
View file @
32cd639f
...
...
@@ -78,15 +78,6 @@ function c44771289.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c44771289
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c48144509.lua
View file @
32cd639f
...
...
@@ -100,14 +100,5 @@ function c48144509.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c51858306.lua
View file @
32cd639f
...
...
@@ -40,11 +40,6 @@ function c51858306.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
SetLabelObject
(
tc
)
e
:
GetHandler
():
RegisterFlagEffect
(
51858306
,
RESET_EVENT
+
0x1e60000
,
0
,
1
)
tc
:
RegisterFlagEffect
(
51858306
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
else
local
cg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
tp
,
cg
)
Duel
.
ShuffleDeck
(
tp
)
end
end
function
c51858306
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c52963531.lua
View file @
32cd639f
...
...
@@ -102,14 +102,5 @@ function c52963531.operation(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c55824220.lua
View file @
32cd639f
...
...
@@ -65,14 +65,5 @@ function c55824220.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c60226558.lua
View file @
32cd639f
...
...
@@ -119,14 +119,5 @@ function c60226558.spop(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c6417578.lua
View file @
32cd639f
...
...
@@ -67,14 +67,5 @@ function c6417578.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c65331686.lua
View file @
32cd639f
...
...
@@ -105,14 +105,5 @@ function c65331686.operation(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
c73360025.lua
View file @
32cd639f
...
...
@@ -111,19 +111,6 @@ function c73360025.spop(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
local
ct
=
cg1
:
GetCount
()
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
30459350
)
then
ct
=
ct
+
Duel
.
GetMatchingGroupCount
(
c73360025
.
ctfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
end
if
ct
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c73360025
.
ctfilter
(
c
)
...
...
c73594093.lua
View file @
32cd639f
...
...
@@ -76,15 +76,6 @@ function c73594093.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
function
c73594093
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c75141056.lua
View file @
32cd639f
...
...
@@ -35,10 +35,5 @@ function c75141056.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
gc
:
GetCode
())
tc
:
RegisterEffect
(
e1
)
end
elseif
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
then
local
cg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
tp
,
cg
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c77901552.lua
View file @
32cd639f
...
...
@@ -57,13 +57,5 @@ function c77901552.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ConfirmCards
(
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c78033100.lua
View file @
32cd639f
...
...
@@ -59,13 +59,5 @@ function c78033100.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_SET_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
Duel
.
SpecialSummonComplete
()
elseif
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
then
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ConfirmCards
(
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
c94820406.lua
View file @
32cd639f
...
...
@@ -71,14 +71,5 @@ function c94820406.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
aux
.
tgoval
)
tc
:
RegisterEffect
(
e1
)
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
Duel
.
ShuffleHand
(
tp
)
end
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