Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
e364460c
Commit
e364460c
authored
Mar 17, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0d659dd2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
10 deletions
+11
-10
script/c100418016.lua
script/c100418016.lua
+1
-1
script/c100418017.lua
script/c100418017.lua
+1
-1
script/c100418020.lua
script/c100418020.lua
+2
-2
script/c100418022.lua
script/c100418022.lua
+3
-2
script/c100418023.lua
script/c100418023.lua
+2
-2
script/c100418024.lua
script/c100418024.lua
+2
-2
No files found.
script/c100418016.lua
View file @
e364460c
...
...
@@ -77,7 +77,7 @@ function c100418016.drop(e,tp,eg,ep,ev,re,r,rp)
local
opval
=
{}
local
spg
=
Duel
.
GetMatchingGroup
(
c100418016
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
local
stg
=
Duel
.
GetMatchingGroup
(
Card
.
IsSSetable
,
tp
,
LOCATION_HAND
,
0
,
nil
)
if
#
spg
>
0
then
if
#
spg
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
ops
[
off
]
=
aux
.
Stringid
(
100418016
,
2
)
opval
[
off
-
1
]
=
1
off
=
off
+
1
...
...
script/c100418017.lua
View file @
e364460c
...
...
@@ -69,7 +69,7 @@ function c100418017.drop(e,tp,eg,ep,ev,re,r,rp)
local
opval
=
{}
local
spg
=
Duel
.
GetMatchingGroup
(
c100418017
.
spfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
local
stg
=
Duel
.
GetMatchingGroup
(
Card
.
IsSSetable
,
tp
,
LOCATION_HAND
,
0
,
nil
)
if
#
spg
>
0
then
if
#
spg
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
ops
[
off
]
=
aux
.
Stringid
(
100418017
,
2
)
opval
[
off
-
1
]
=
1
off
=
off
+
1
...
...
script/c100418020.lua
View file @
e364460c
...
...
@@ -32,8 +32,8 @@ end
function
c100418020
.
filter
(
c
)
return
c
:
IsSetCard
(
0x280
)
and
c
:
IsFaceup
()
end
function
c100418020
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c100418020
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
function
c100418020
.
actcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c100418020
.
filter
,
e
:
GetHandlerPlayer
()
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c100418020
.
acttg
(
e
,
c
)
return
c
:
GetType
()
==
TYPE_TRAP
...
...
script/c100418022.lua
View file @
e364460c
...
...
@@ -30,10 +30,11 @@ function c100418022.activate(e,tp,eg,ep,ev,re,r,rp)
if
tg
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
local
ct
=
tg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
local
dem
=
Duel
.
GetMatchingGroupCount
(
c100418022
.
demfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c100418022
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
ct
>
0
and
dem
>
0
and
sg
:
GetCount
()
>=
ct
and
ft
>=
ct
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100418022
,
0
))
then
if
ct
>
0
and
Duel
.
IsExistingMatchingCard
(
c100418022
.
demfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
sg
:
GetClassCount
(
Card
.
GetCode
)
>=
ct
and
ft
>=
ct
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100418022
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
stg
=
sg
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
ct
,
ct
)
Duel
.
SSet
(
tp
,
stg
)
...
...
script/c100418023.lua
View file @
e364460c
...
...
@@ -30,7 +30,8 @@ function Auxiliary.LabrynthDestroyOp(e,tp,res)
local
chk
=
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsSetCard
(
0x1280
)
and
c
:
GetType
()
==
TYPE_TRAP
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
local
exc
=
nil
if
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
exc
=
c
end
if
chk
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
100418021
)
local
te
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
100418021
)
if
chk
and
te
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
exc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100418021
,
0
))
then
if
res
>
0
then
Duel
.
BreakEffect
()
end
...
...
@@ -39,7 +40,6 @@ function Auxiliary.LabrynthDestroyOp(e,tp,res)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
exc
)
Duel
.
HintSelection
(
dg
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
local
te
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
100418021
)
te
:
UseCountLimit
(
tp
)
end
end
...
...
script/c100418024.lua
View file @
e364460c
...
...
@@ -18,7 +18,8 @@ function Auxiliary.LabrynthDestroyOp(e,tp,res)
local
chk
=
not
c
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
and
c
:
IsSetCard
(
0x1280
)
and
c
:
GetType
()
==
TYPE_TRAP
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
local
exc
=
nil
if
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
exc
=
c
end
if
chk
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
100418021
)
local
te
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
100418021
)
if
chk
and
te
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
exc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100418021
,
0
))
then
if
res
>
0
then
Duel
.
BreakEffect
()
end
...
...
@@ -27,7 +28,6 @@ function Auxiliary.LabrynthDestroyOp(e,tp,res)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
exc
)
Duel
.
HintSelection
(
dg
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
local
te
=
Duel
.
IsPlayerAffectedByEffect
(
tp
,
100418021
)
te
:
UseCountLimit
(
tp
)
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