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
MyCard
pre-release-database-cdb
Commits
aba3aa60
Commit
aba3aa60
authored
Sep 14, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-1' into 'master'
Update c100227001.lua See merge request
!118
parents
6c6d5966
62bd2923
Pipeline
#29772
passed with stages
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c100227001.lua
script/c100227001.lua
+2
-2
No files found.
script/c100227001.lua
View file @
aba3aa60
...
...
@@ -30,7 +30,7 @@ function s.dfilter(c,g,e,tp)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
(
REASON_EFFECT
+
REASON_DISCARD
)
end
function
s
.
fselect
(
g
,
e
,
tp
)
local
lv
=
g
:
GetSum
(
Card
.
GetLevel
)
local
lv
=
g
:
GetSum
(
Card
.
Get
Original
Level
)
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
)
...
...
@@ -50,7 +50,7 @@ function s.synop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SetSelectedCard
(
e
:
GetHandler
())
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
99
,
e
,
tp
)
if
sg
and
sg
:
GetCount
()
>=
2
then
local
lv
=
sg
:
GetSum
(
Card
.
GetLevel
)
local
lv
=
sg
:
GetSum
(
Card
.
Get
Original
Level
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_DISCARD
)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
lv
):
GetFirst
()
if
not
sc
then
return
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