Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
八宫一月
pre-release-database-cdb
Commits
a7fe4b44
Commit
a7fe4b44
authored
Sep 14, 2024
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c100227001.lua
parent
e54eab92
Pipeline
#29767
failed with stages
in 29 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
script/c100227001.lua
script/c100227001.lua
+5
-5
No files found.
script/c100227001.lua
View file @
a7fe4b44
...
@@ -30,10 +30,10 @@ function s.dfilter(c,g,e,tp)
...
@@ -30,10 +30,10 @@ function s.dfilter(c,g,e,tp)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
(
REASON_EFFECT
+
REASON_DISCARD
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
(
REASON_EFFECT
+
REASON_DISCARD
)
end
end
function
s
.
fselect
(
g
,
e
,
tp
)
function
s
.
fselect
(
g
,
e
,
tp
)
return
g
:
IsContains
(
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
g
,
e
,
tp
)
end
function
s
.
synfilter
(
c
,
g
,
e
,
tp
)
local
lv
=
g
:
GetSum
(
Card
.
GetLevel
)
local
lv
=
g
:
GetSum
(
Card
.
GetLevel
)
return
g
:
IsContains
(
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
end
function
s
.
synfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsLevel
(
lv
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_SYNCHRO
,
tp
,
false
,
false
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsLevel
(
lv
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_SYNCHRO
,
tp
,
false
,
false
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
...
@@ -50,9 +50,9 @@ function s.synop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,9 +50,9 @@ function s.synop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SetSelectedCard
(
e
:
GetHandler
())
Duel
.
SetSelectedCard
(
e
:
GetHandler
())
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
99
,
e
,
tp
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
99
,
e
,
tp
)
if
sg
and
sg
:
GetCount
()
>=
2
then
if
sg
and
sg
:
GetCount
()
>=
2
then
local
lv
=
sg
:
GetSum
(
Card
.
GetLevel
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_DISCARD
)
local
dg
=
Duel
.
GetOperatedGroup
()
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
lv
):
GetFirst
()
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
dg
,
e
,
tp
):
GetFirst
()
if
not
sc
then
return
end
if
not
sc
then
return
end
sc
:
SetMaterial
(
nil
)
sc
:
SetMaterial
(
nil
)
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
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