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
Vury Leo
pre-release-database-cdb
Commits
d58dbbaa
Commit
d58dbbaa
authored
Feb 05, 2026
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GMX Dinosaur support
parent
640aa925
Pipeline
#42853
failed with stages
in 4 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
script/c101303096.lua
script/c101303096.lua
+22
-4
No files found.
script/c101303096.lua
View file @
d58dbbaa
...
...
@@ -20,7 +20,12 @@ function s.cfilter2(c)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
s
.
cfilter1
(
c
)
or
s
.
cfilter2
(
c
)
end
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_EXTRA
)
end
...
...
@@ -35,9 +40,22 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
#
g1
==
0
then
return
end
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
cfilter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
#
g2
==
0
then
return
end
local
_
,
seq1
=
g1
:
GetMaxGroup
(
Card
.
GetSequence
)
local
_
,
seq2
=
g2
:
GetMaxGroup
(
Card
.
GetSequence
)
local
seq
=
math.min
(
seq1
,
seq2
)
-- top card in g1
local
c1
=
g1
:
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
-- top card in g2
local
c2
=
g2
:
GetMaxGroup
(
Card
.
GetSequence
):
GetFirst
()
local
seq
=
math.min
(
c1
:
GetSequence
(),
c2
:
GetSequence
())
-- same card: try 2nd top
if
c1
==
c2
then
g1
:
RemoveCard
(
c1
)
g2
:
RemoveCard
(
c2
)
-- if no 2nd cards, just exit
if
#
g1
==
0
and
#
g2
==
0
then
return
end
local
seq1
=
(
#
g1
>
0
)
and
select
(
2
,
g1
:
GetMaxGroup
(
Card
.
GetSequence
))
or
-
1
local
seq2
=
(
#
g2
>
0
)
and
select
(
2
,
g2
:
GetMaxGroup
(
Card
.
GetSequence
))
or
-
1
seq
=
math.max
(
seq1
,
seq2
)
end
local
excavate_count
=
dcount
-
seq
Duel
.
ConfirmDecktop
(
tp
,
excavate_count
)
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
excavate_count
*
400
)
...
...
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