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
a27cdbe3
Commit
a27cdbe3
authored
Nov 08, 2024
by
Crescent/毛虫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://code.moenext.com/mycard/pre-release-database-cdb
parents
6f6c7b9e
72cb3bd5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
15 deletions
+17
-15
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
TW02.cdb
TW02.cdb
+0
-0
script/c100200263.lua
script/c100200263.lua
+1
-1
script/c100227072.lua
script/c100227072.lua
+5
-4
script/c100227073.lua
script/c100227073.lua
+4
-3
script/c100227074.lua
script/c100227074.lua
+3
-3
script/c100227075.lua
script/c100227075.lua
+2
-2
script/c81096431.lua
script/c81096431.lua
+1
-1
No files found.
.gitlab-ci.yml
View file @
a27cdbe3
...
...
@@ -53,7 +53,7 @@ merge_databases:
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
9.
1
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
9.
2
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
-
apt update;apt -y install wget
-
currentPath=$PWD
...
...
TW02.cdb
View file @
a27cdbe3
No preview for this file type
script/c100200263.lua
View file @
a27cdbe3
...
...
@@ -80,4 +80,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_DINOSAUR
)
end
\ No newline at end of file
end
script/c100227072.lua
View file @
a27cdbe3
...
...
@@ -16,7 +16,6 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_RITUAL_LEVEL
)
e2
:
SetValue
(
s
.
rlevel
)
e2
:
SetRange
(
LOCATION_MZONE
)
c
:
RegisterEffect
(
e2
)
--tohand
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -49,7 +48,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
rlevel
(
e
,
c
)
local
lv
=
aux
.
GetCappedLevel
(
e
:
GetHandler
())
local
ec
=
e
:
GetHandler
()
local
lv
=
aux
.
GetCappedLevel
(
ec
)
if
not
ec
:
IsLocation
(
LOCATION_MZONE
)
then
return
lv
end
if
c
:
IsSetCard
(
0xb4
)
then
local
clv
=
c
:
GetLevel
()
return
(
lv
<<
16
)
+
clv
...
...
@@ -69,8 +70,8 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
1
,
g
:
GetCount
())
if
tg
:
GetCount
()
>
0
then
if
tg
and
tg
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
end
\ No newline at end of file
end
script/c100227073.lua
View file @
a27cdbe3
...
...
@@ -32,7 +32,6 @@ function s.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_RITUAL_LEVEL
)
e4
:
SetValue
(
s
.
rlevel
)
e4
:
SetRange
(
LOCATION_MZONE
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
cfilter
(
c
)
...
...
@@ -69,9 +68,11 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
rlevel
(
e
,
c
)
local
lv
=
aux
.
GetCappedLevel
(
e
:
GetHandler
())
local
ec
=
e
:
GetHandler
()
local
lv
=
aux
.
GetCappedLevel
(
ec
)
if
not
ec
:
IsLocation
(
LOCATION_MZONE
)
then
return
lv
end
if
c
:
IsSetCard
(
0xb4
)
then
local
clv
=
c
:
GetLevel
()
return
(
lv
<<
16
)
+
clv
else
return
lv
end
end
\ No newline at end of file
end
script/c100227074.lua
View file @
a27cdbe3
...
...
@@ -2,6 +2,7 @@
local
s
,
id
,
o
=
GetID
()
---@param c Card
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
EnablePendulumAttribute
(
c
)
--Cannot Special Summon
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -51,8 +52,7 @@ function s.mat_filter(c)
return
not
c
:
IsLevel
(
9
)
end
function
s
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0xb4
)
return
c
:
IsFaceupEx
()
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0xb4
)
end
function
s
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
and
e
:
GetHandler
():
IsStatus
(
STATUS_EFFECT_ENABLED
)
...
...
@@ -113,4 +113,4 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
immtg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb4
)
end
\ No newline at end of file
end
script/c100227075.lua
View file @
a27cdbe3
...
...
@@ -29,7 +29,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
function
s
.
rfilter
(
c
,
e
,
tp
)
function
s
.
rfilter
(
c
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0xb4
)
end
function
s
.
mfilter
(
c
)
...
...
@@ -100,4 +100,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
end
script/c81096431.lua
View file @
a27cdbe3
...
...
@@ -224,4 +224,4 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
tc
:
CancelToGrave
()
Duel
.
Overlay
(
c
,
Group
.
FromCards
(
tc
))
end
end
\ No newline at end of file
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