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
Crescent/毛虫
pre-release-database-cdb
Commits
6c6d5966
Commit
6c6d5966
authored
Sep 14, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-2' into 'master'
fix--魔轟神獣ベヒルモス See merge request
mycard/pre-release-database-cdb!117
parents
1cf99204
a7fe4b44
Changes
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 @
6c6d5966
...
...
@@ -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
)
end
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
)
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
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
...
...
@@ -50,9 +50,9 @@ 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
)
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
,
dg
,
e
,
tp
):
GetFirst
()
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
lv
):
GetFirst
()
if
not
sc
then
return
end
sc
:
SetMaterial
(
nil
)
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