Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
71ca6bb9
Commit
71ca6bb9
authored
Mar 24, 2021
by
Chrono-Genex
Committed by
GitHub
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use Card.IsExtraDeckMonster (#1600)
parent
4c0b25e8
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
27 additions
and
16 deletions
+27
-16
c10406322.lua
c10406322.lua
+1
-1
c12081875.lua
c12081875.lua
+1
-2
c30126992.lua
c30126992.lua
+6
-2
c55591586.lua
c55591586.lua
+6
-2
c58165765.lua
c58165765.lua
+2
-2
c67030233.lua
c67030233.lua
+1
-1
c71978434.lua
c71978434.lua
+1
-1
c7841112.lua
c7841112.lua
+1
-1
c81028112.lua
c81028112.lua
+6
-2
c88409165.lua
c88409165.lua
+1
-1
c91650245.lua
c91650245.lua
+1
-1
No files found.
c10406322.lua
View file @
71ca6bb9
...
@@ -71,7 +71,7 @@ end
...
@@ -71,7 +71,7 @@ end
function
c10406322
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10406322
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
Is
Type
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
if
tc
:
Is
ExtraDeckMonster
(
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
10406322
,
2
),
aux
.
Stringid
(
10406322
,
3
))
==
0
then
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
10406322
,
2
),
aux
.
Stringid
(
10406322
,
3
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
else
...
...
c12081875.lua
View file @
71ca6bb9
...
@@ -59,8 +59,7 @@ function c12081875.effop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -59,8 +59,7 @@ function c12081875.effop(e,tp,eg,ep,ev,re,r,rp,chk)
local
op
=
te
:
GetOperation
()
local
op
=
te
:
GetOperation
()
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
12081875
,
1
),
aux
.
Stringid
(
12081875
,
2
))
if
tc
:
IsExtraDeckMonster
()
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
12081875
,
1
),
aux
.
Stringid
(
12081875
,
2
))
==
0
then
if
opt
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
else
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
...
...
c30126992.lua
View file @
71ca6bb9
...
@@ -52,7 +52,11 @@ function c30126992.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,11 @@ function c30126992.tdop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFacedown
()
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
tp
,
tc
)
Duel
.
ConfirmCards
(
tp
,
tc
)
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
30126992
,
1
),
aux
.
Stringid
(
30126992
,
2
))
if
tc
:
IsExtraDeckMonster
()
Duel
.
SendtoDeck
(
tc
,
nil
,
opt
,
REASON_EFFECT
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
30126992
,
1
),
aux
.
Stringid
(
30126992
,
2
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
end
end
end
end
end
c55591586.lua
View file @
71ca6bb9
...
@@ -112,7 +112,11 @@ end
...
@@ -112,7 +112,11 @@ end
function
c55591586
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c55591586
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
55591586
,
4
),
aux
.
Stringid
(
55591586
,
5
))
if
tc
:
IsExtraDeckMonster
()
Duel
.
SendtoDeck
(
tc
,
nil
,
opt
,
REASON_EFFECT
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
55591586
,
4
),
aux
.
Stringid
(
55591586
,
5
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
end
end
end
end
end
c58165765.lua
View file @
71ca6bb9
...
@@ -50,8 +50,8 @@ function c58165765.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,8 +50,8 @@ function c58165765.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
tp
,
tc
)
Duel
.
ConfirmCards
(
tp
,
tc
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
tc
:
IsAbleToDeck
()
then
if
tc
:
IsAbleToDeck
()
then
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
58165765
,
1
),
aux
.
Stringid
(
58165765
,
2
)
)
if
tc
:
IsExtraDeckMonster
(
)
if
opt
==
0
then
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
58165765
,
1
),
aux
.
Stringid
(
58165765
,
2
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
else
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
...
...
c67030233.lua
View file @
71ca6bb9
...
@@ -115,7 +115,7 @@ end
...
@@ -115,7 +115,7 @@ end
function
c67030233
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67030233
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
bit
.
band
(
c
:
GetOriginalType
(),
0x802040
)
~=
0
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
~=
0
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsExtraDeckMonster
()
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
tc
and
tc
:
IsRelateToEffect
(
e
)
then
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
c71978434.lua
View file @
71ca6bb9
...
@@ -92,7 +92,7 @@ end
...
@@ -92,7 +92,7 @@ end
function
c71978434
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71978434
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
Is
Type
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
if
tc
:
Is
ExtraDeckMonster
(
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
71978434
,
2
),
aux
.
Stringid
(
71978434
,
3
))
==
0
then
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
71978434
,
2
),
aux
.
Stringid
(
71978434
,
3
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
else
...
...
c7841112.lua
View file @
71ca6bb9
...
@@ -127,7 +127,7 @@ end
...
@@ -127,7 +127,7 @@ end
function
c7841112
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c7841112
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
bit
.
band
(
c
:
GetOriginalType
(),
0x802040
)
~=
0
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
~=
0
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsExtraDeckMonster
()
and
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
tc
and
tc
:
IsRelateToEffect
(
e
)
then
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
c81028112.lua
View file @
71ca6bb9
...
@@ -25,7 +25,11 @@ end
...
@@ -25,7 +25,11 @@ end
function
c81028112
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c81028112
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
local
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
81028112
,
1
),
aux
.
Stringid
(
81028112
,
2
))
if
tc
:
IsExtraDeckMonster
()
Duel
.
SendtoDeck
(
tc
,
nil
,
opt
,
REASON_EFFECT
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
81028112
,
1
),
aux
.
Stringid
(
81028112
,
2
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
end
end
end
end
end
c88409165.lua
View file @
71ca6bb9
...
@@ -33,7 +33,7 @@ end
...
@@ -33,7 +33,7 @@ end
function
c88409165
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88409165
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
Is
Type
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
if
tc
:
Is
ExtraDeckMonster
(
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
88409165
,
1
),
aux
.
Stringid
(
88409165
,
2
))
==
0
then
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
88409165
,
1
),
aux
.
Stringid
(
88409165
,
2
))
==
0
then
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
else
else
...
...
c91650245.lua
View file @
71ca6bb9
...
@@ -55,7 +55,7 @@ function c91650245.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,7 +55,7 @@ function c91650245.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c91650245
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91650245
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
Is
Type
(
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
)
if
c
:
Is
ExtraDeckMonster
(
)
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
91650245
,
0
),
aux
.
Stringid
(
91650245
,
1
))
==
0
then
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
91650245
,
0
),
aux
.
Stringid
(
91650245
,
1
))
==
0
then
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_EFFECT
)
else
else
...
...
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