Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
7fb1c336
Commit
7fb1c336
authored
Sep 19, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
f8339ef4
Pipeline
#29869
passed with stages
in 23 minutes and 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
expansions/script/c21185825.lua
expansions/script/c21185825.lua
+1
-0
expansions/script/c21185828.lua
expansions/script/c21185828.lua
+21
-1
No files found.
expansions/script/c21185825.lua
View file @
7fb1c336
...
@@ -90,6 +90,7 @@ function c21185825.LCheckGoal2(sg,tp,lc,lmat)
...
@@ -90,6 +90,7 @@ function c21185825.LCheckGoal2(sg,tp,lc,lmat)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
not
sg
:
IsExists
(
aux
.
LUncompatibilityFilter
,
1
,
nil
,
sg
,
lc
,
tp
)
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
(
not
lmat
or
sg
:
IsContains
(
lmat
))
and
#
sg
==
sg
:
Filter
(
Card
.
IsLinkType
,
nil
)
end
end
function
c21185825
.
linkcon
()
function
c21185825
.
linkcon
()
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
return
function
(
e
,
c
,
og
,
lmat
,
min
,
max
)
...
...
expansions/script/c21185828.lua
View file @
7fb1c336
...
@@ -33,6 +33,14 @@ function c21185828.initial_effect(c)
...
@@ -33,6 +33,14 @@ function c21185828.initial_effect(c)
e3
:
SetCondition
(
c21185828
.
con3
)
e3
:
SetCondition
(
c21185828
.
con3
)
e3
:
SetOperation
(
c21185828
.
op3
)
e3
:
SetOperation
(
c21185828
.
op3
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_ADJUST
)
e4
:
SetRange
(
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_HAND
+
LOCATION_EXTRA
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SET_AVAILABLE
)
e4
:
SetCondition
(
c21185828
.
con4
)
e4
:
SetOperation
(
c21185828
.
op4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c21185828
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21185828
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
...
@@ -50,7 +58,7 @@ function c21185828.w(c)
...
@@ -50,7 +58,7 @@ function c21185828.w(c)
end
end
function
c21185828
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21185828
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
4
,
nil
)
if
#
g
<=
0
then
return
end
if
#
g
<=
0
then
return
end
local
x
=
0
local
x
=
0
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
g
)
do
...
@@ -116,4 +124,16 @@ function c21185828.op3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -116,4 +124,16 @@ function c21185828.op3(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
end
function
c21185828
.
con4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetOriginalCode
()
==
21185828
end
function
c21185828
.
op4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
c
:
SetEntityCode
(
21185825
)
Duel
.
ConfirmCards
(
tp
,
Group
.
FromCards
(
c
))
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
c
:
ReplaceEffect
(
21185825
,
0
,
0
)
Duel
.
Hint
(
HINT_CARD
,
1
,
21185825
)
end
end
\ No newline at end of file
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