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
yks
pre-release-database-cdb
Commits
a654690c
Commit
a654690c
authored
Jul 10, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
35a7f792
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
script/c100223006.lua
script/c100223006.lua
+3
-2
script/c100223007.lua
script/c100223007.lua
+4
-3
script/c100223010.lua
script/c100223010.lua
+2
-2
No files found.
.gitlab-ci.yml
View file @
a654690c
...
...
@@ -53,7 +53,7 @@ merge_databases:
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
5.
4
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
5.
5
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
-
apt update;apt -y install wget
-
currentPath=$PWD
...
...
script/c100223006.lua
View file @
a654690c
...
...
@@ -44,12 +44,13 @@ end
function
s
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
s
.
mtfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
0
,
0
)
end
function
s
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
mtfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
mtfilter
)
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
Duel
.
Overlay
(
c
,
g
)
end
...
...
script/c100223007.lua
View file @
a654690c
...
...
@@ -44,12 +44,13 @@ end
function
s
.
mttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
s
.
mtfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
0
,
0
)
end
function
s
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
mtfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
mtfilter
)
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
)
if
g
:
GetCount
()
>
0
then
Duel
.
Overlay
(
c
,
g
)
end
...
...
@@ -73,7 +74,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
function
s
.
repfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsControler
(
tp
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
Is
Faceup
()
and
c
:
Is
Location
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
function
s
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100223010.lua
View file @
a654690c
...
...
@@ -41,7 +41,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
xyzfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRank
(
4
)
and
Duel
.
IsExistingMatchingCard
(
s
.
mtfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
s
.
mtfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
)
end
function
s
.
mtfilter
(
c
,
e
)
return
c
:
IsSetCard
(
0x2bf
)
...
...
@@ -56,7 +56,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
xc
=
g
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
mtfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
)
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
mtfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
)
if
mg
:
GetCount
()
>
0
then
Duel
.
Overlay
(
xc
,
mg
)
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