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
MyCard
pre-release-database-cdb
Commits
ecf73b0d
Commit
ecf73b0d
authored
Oct 12, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
2124bff4
Pipeline
#30377
passed with stages
in 1 minute and 31 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
105 additions
and
7 deletions
+105
-7
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
script-fix.cdb
script-fix.cdb
+0
-0
script/c101207014.lua
script/c101207014.lua
+2
-2
script/c101207075.lua
script/c101207075.lua
+5
-4
script/c89812483.lua
script/c89812483.lua
+97
-0
No files found.
.gitlab-ci.yml
View file @
ecf73b0d
...
@@ -53,7 +53,7 @@ merge_databases:
...
@@ -53,7 +53,7 @@ merge_databases:
FIELDS
:
'
name,desc,overallString,picUrl'
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
8.
7
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
8.
8
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
script
:
-
apt update;apt -y install wget
-
apt update;apt -y install wget
-
currentPath=$PWD
-
currentPath=$PWD
...
...
script-fix.cdb
View file @
ecf73b0d
No preview for this file type
script/c101207014.lua
View file @
ecf73b0d
...
@@ -74,12 +74,12 @@ function s.damcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,12 +74,12 @@ function s.damcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
300
)
e1
:
SetValue
(
300
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c101207075.lua
View file @
ecf73b0d
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
...
@@ -14,7 +15,7 @@ function s.initial_effect(c)
...
@@ -14,7 +15,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
cfilter
(
c
,
e
,
tp
)
function
s
.
cfilter
(
c
,
e
,
tp
)
return
aux
.
IsCodeListed
(
c
,
89812483
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
aux
.
IsCodeListed
(
c
,
89812483
)
and
c
:
IsFaceup
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
100
)
e
:
SetLabel
(
100
)
...
@@ -23,14 +24,14 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -23,14 +24,14 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
aux
.
IsCodeListed
(
c
,
89812483
)
and
not
c
:
IsSummonableCard
()
return
aux
.
IsCodeListed
(
c
,
89812483
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsSummonableCard
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
res
=
e
:
GetLabel
()
==
100
local
res
=
e
:
GetLabel
()
==
100
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
(
res
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
nil
)
return
(
res
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
@@ -40,7 +41,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +41,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
~=
0
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
~=
0
and
c
:
IsOnField
()
and
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
and
c
:
IsOnField
()
and
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
c
:
CancelToGrave
(
true
)
c
:
CancelToGrave
(
true
)
if
Duel
.
Equip
(
tp
,
c
,
tc
)
~=
0
then
if
Duel
.
Equip
(
tp
,
c
,
tc
)
~=
0
then
...
...
script/c89812483.lua
0 → 100644
View file @
ecf73b0d
--メタル化・強化反射装甲
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
89812483
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
if
chk
==
0
then
return
true
end
end
function
s
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
filter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
1
,
c
:
GetLevel
(),
c
:
GetRace
(),
c
:
GetAttribute
())
end
function
s
.
filter2
(
c
,
e
,
tp
,
ft
,
lv
,
race
,
att
)
return
not
c
:
IsSummonableCard
()
and
aux
.
IsCodeListed
(
c
,
89812483
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
not
c
:
IsLocation
(
LOCATION_DECK
+
LOCATION_HAND
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
,
POS_FACEUP
)
or
c
.
Metallization_material
and
c
.
Metallization_material
(
ft
,
lv
,
race
,
att
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
,
POS_FACEUP
))
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
1
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
0
)
end
return
e
:
IsCostChecked
()
and
Duel
.
CheckReleaseGroup
(
tp
,
s
.
filter1
,
1
,
nil
,
e
,
tp
)
end
if
e
:
GetLabel
()
==
1
then
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
s
.
filter1
,
1
,
1
,
nil
,
e
,
tp
)
local
ec
=
rg
:
GetFirst
()
e
:
SetLabel
(
1
,
ec
:
GetLevel
(),
ec
:
GetRace
(),
ec
:
GetAttribute
())
Duel
.
Release
(
ec
,
REASON_COST
)
else
e
:
SetLabel
(
0
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter2
),
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
()):
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
if
c
:
IsOnField
()
and
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
c
:
CancelToGrave
(
true
)
if
Duel
.
Equip
(
tp
,
c
,
tc
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
s
.
eqlimit
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetValue
(
400
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_EQUIP
)
e4
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e4
:
SetValue
(
s
.
efilter
)
e4
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e5
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e5
:
SetValue
(
s
.
tgval
)
c
:
RegisterEffect
(
e5
)
else
c
:
CancelToGrave
(
false
)
end
end
end
end
function
s
.
eqlimit
(
e
,
c
)
return
e
:
GetOwner
()
==
c
end
function
s
.
tgval
(
e
,
re
,
rp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
+
TYPE_SPELL
)
and
rp
==
1
-
e
:
GetHandlerPlayer
()
end
function
s
.
efilter
(
e
,
re
)
return
re
:
IsActiveType
(
TYPE_MONSTER
+
TYPE_SPELL
)
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