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
Mr.Tan
pre-release-database-cdb
Commits
192ae440
Commit
192ae440
authored
Sep 13, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 魔轟神レヴェルゼブル
parent
72b70c33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
script/c100227003.lua
script/c100227003.lua
+8
-7
No files found.
.gitlab-ci.yml
View file @
192ae440
...
...
@@ -53,7 +53,7 @@ merge_databases:
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
7.
5
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
7.
6
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
-
apt update;apt -y install wget
-
currentPath=$PWD
...
...
script/c100227003.lua
View file @
192ae440
...
...
@@ -32,27 +32,28 @@ function s.ctcon(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
function
s
.
costfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetMZoneCount
(
tp
,
c
,
tp
,
LOCATION_REASON_CONTROL
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
ntrfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
c
)
function
s
.
rfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetMZoneCount
(
tp
,
c
,
tp
,
LOCATION_REASON_CONTROL
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
ctfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
c
)
end
function
s
.
ntr
filter
(
c
)
function
s
.
ct
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsControlerCanBeChanged
(
true
)
end
function
s
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
s
.
cost
filter
,
1
,
REASON_EFFECT
,
false
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
s
.
r
filter
,
1
,
REASON_EFFECT
,
false
,
nil
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
nil
,
1
,
0
,
0
)
end
function
s
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_EFFECT
):
Filter
(
s
.
cost
filter
,
nil
,
tp
)
local
og
=
Duel
.
GetMatchingGroup
(
s
.
ntr
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_EFFECT
):
Filter
(
s
.
r
filter
,
nil
,
tp
)
local
og
=
Duel
.
GetMatchingGroup
(
s
.
ct
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
Select
(
tp
,
1
,
og
:
GetCount
(),
nil
)
local
ct
=
Duel
.
Release
(
sg
,
REASON_EFFECT
)
if
ct
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
ntr
filter
,
tp
,
0
,
LOCATION_MZONE
,
ct
,
ct
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
ct
filter
,
tp
,
0
,
LOCATION_MZONE
,
ct
,
ct
,
nil
)
Duel
.
HintSelection
(
tg
)
if
not
Duel
.
GetControl
(
tg
,
tp
)
then
return
end
local
cg
=
tg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
...
...
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