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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
e28c86a8
Commit
e28c86a8
authored
Jul 11, 2022
by
Chrono-Genex
Committed by
GitHub
Jul 11, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Duel.SendtoExtraP (#1907)
parent
74776154
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
11 additions
and
11 deletions
+11
-11
c18210764.lua
c18210764.lua
+1
-1
c24094258.lua
c24094258.lua
+1
-1
c26237713.lua
c26237713.lua
+1
-1
c27870337.lua
c27870337.lua
+2
-2
c29432356.lua
c29432356.lua
+1
-1
c37972500.lua
c37972500.lua
+1
-1
c4836680.lua
c4836680.lua
+1
-1
c54100561.lua
c54100561.lua
+1
-1
c56677752.lua
c56677752.lua
+1
-1
c59057953.lua
c59057953.lua
+1
-1
No files found.
c18210764.lua
View file @
e28c86a8
...
...
@@ -60,7 +60,7 @@ end
function
c18210764
.
teop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoExtraP
(
tc
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
tc
,
nil
,
REASON_EFFECT
)
end
end
function
c18210764
.
spfilter
(
c
,
e
,
tp
)
...
...
c24094258.lua
View file @
e28c86a8
...
...
@@ -53,7 +53,7 @@ function c24094258.teop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
24094258
,
3
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c24094258
.
tefilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoExtraP
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
g
,
nil
,
REASON_EFFECT
)
end
end
function
c24094258
.
thfilter
(
c
)
...
...
c26237713.lua
View file @
e28c86a8
...
...
@@ -21,6 +21,6 @@ function c26237713.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
26237713
,
0
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c26237713
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoExtraP
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
g
,
nil
,
REASON_EFFECT
)
end
end
c27870337.lua
View file @
e28c86a8
...
...
@@ -82,7 +82,7 @@ function c27870337.activate(e,tp,eg,ep,ev,re,r,rp)
elseif
sel
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
27870337
,
3
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c27870337
.
toexfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoExtraP
(
g
,
tp
,
REASON_EFFECT
)
~=
0
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoExtraP
(
g
,
nil
,
REASON_EFFECT
)
~=
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
local
g1
=
Duel
.
GetMatchingGroup
(
c27870337
.
pendfilter1
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c27870337
.
pendfilter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
...
...
@@ -106,7 +106,7 @@ function c27870337.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
27870337
,
3
))
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c27870337
.
toexfilter2
,
tp
,
LOCATION_PZONE
,
0
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
if
Duel
.
SendtoExtraP
(
g1
,
tp
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
SendtoExtraP
(
g1
,
nil
,
REASON_EFFECT
)
~=
0
then
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
...
...
c29432356.lua
View file @
e28c86a8
...
...
@@ -59,7 +59,7 @@ function c29432356.scop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
29432356
,
1
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c29432356
.
scfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
c
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoExtraP
(
tc
,
tp
,
REASON_EFFECT
)
>
0
then
if
tc
and
Duel
.
SendtoExtraP
(
tc
,
nil
,
REASON_EFFECT
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LSCALE
)
...
...
c37972500.lua
View file @
e28c86a8
...
...
@@ -62,7 +62,7 @@ function c37972500.teop(e,tp,eg,ep,ev,re,r,rp)
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
end
local
tc
=
sg
:
GetFirst
()
if
tc
and
Duel
.
SendtoExtraP
(
tc
,
tp
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
then
if
tc
and
Duel
.
SendtoExtraP
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
then
local
odevity
=
tc
:
GetCurrentScale
()
%
2
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c37972500
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
odevity
)
...
...
c4836680.lua
View file @
e28c86a8
...
...
@@ -94,6 +94,6 @@ function c4836680.tgop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsAbleToGrave
()
and
(
not
tc
:
IsAbleToExtra
()
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
4836680
,
0
),
1191
)
==
1
)
then
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
else
Duel
.
SendtoExtraP
(
tc
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
tc
,
nil
,
REASON_EFFECT
)
end
end
c54100561.lua
View file @
e28c86a8
...
...
@@ -44,7 +44,7 @@ function c54100561.teop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
54100561
,
1
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c54100561
.
tefilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoExtraP
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
g
,
nil
,
REASON_EFFECT
)
end
end
function
c54100561
.
pfilter
(
c
)
...
...
c56677752.lua
View file @
e28c86a8
...
...
@@ -48,7 +48,7 @@ function c56677752.negop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
56677752
,
0
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c56677752
.
negfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoExtraP
(
tc
,
tp
,
REASON_EFFECT
)
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
NegateAttack
()
if
tc
and
Duel
.
SendtoExtraP
(
tc
,
nil
,
REASON_EFFECT
)
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
NegateAttack
()
and
tc
:
GetAttack
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
56677752
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
tc
:
GetAttack
(),
REASON_EFFECT
)
...
...
c59057953.lua
View file @
e28c86a8
...
...
@@ -29,5 +29,5 @@ function c59057953.operation(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetClassCount
(
Card
.
GetCode
)
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
59057953
,
0
))
local
tg1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
2
,
2
)
Duel
.
SendtoExtraP
(
tg1
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoExtraP
(
tg1
,
nil
,
REASON_EFFECT
)
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