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
Ruby
pre-release-database-cdb
Commits
d24dd9b9
Commit
d24dd9b9
authored
Oct 04, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix DDD聖賢王アルフレッド
parent
f43903e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
11 deletions
+28
-11
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
script/c101303033.lua
script/c101303033.lua
+27
-10
No files found.
.gitlab-ci.yml
View file @
d24dd9b9
...
...
@@ -91,7 +91,7 @@ add_script_diff:
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
18.
0
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
18.
1
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
-
apt update;apt -y install wget
-
currentPath=$PWD
...
...
script/c101303033.lua
View file @
d24dd9b9
...
...
@@ -26,7 +26,8 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
spfilter1
(
c
,
e
)
return
(
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsFaceupEx
())
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsImmuneToEffect
(
e
)
return
(
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsFaceupEx
()
and
c
:
GetOriginalType
()
&
TYPE_MONSTER
~=
0
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
s
.
spfilter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x10af
)
and
(
not
f
or
f
(
c
))
...
...
@@ -51,6 +52,9 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_REMOVED
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_REMOVED
)
or
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
())
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
local
mg1
=
Duel
.
GetMatchingGroup
(
s
.
spfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
+
LOCATION_REMOVED
,
0
,
nil
,
e
)
...
...
@@ -70,17 +74,21 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
ce
and
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
tc
:
SetMaterial
(
mat1
)
if
mat1
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
then
local
cg
=
mat1
:
Filter
(
Card
.
IsFacedown
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
if
mat1
:
Filter
(
s
.
cfilter
,
nil
):
GetCount
()
>
0
then
local
cg
=
mat1
:
Filter
(
s
.
cfilter
,
nil
)
Duel
.
HintSelection
(
cg
)
end
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
else
if
ce
then
local
mat2
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg2
,
nil
,
chkf
)
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
...
...
@@ -108,14 +116,23 @@ function s.tftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
s
.
tfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
ct
=
math.min
(
g
:
GetCount
(),(
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)))
if
ct
<=
0
then
return
end
if
g
:
GetCount
()
>
ct
then
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
ct
=
math.min
(
g
:
GetCount
(),
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
))
local
pg
=
g
if
ct
<=
0
then
pg
=
Group
.
CreateGroup
()
elseif
g
:
GetCount
()
>
ct
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
g
=
g
:
Select
(
tp
,
ct
,
ct
,
nil
)
pg
=
g
:
Select
(
tp
,
ct
,
ct
,
nil
)
g
:
Sub
(
pg
)
else
g
=
Group
.
CreateGroup
()
end
for
tc
in
aux
.
Next
(
g
)
do
for
tc
in
aux
.
Next
(
p
g
)
do
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
end
\ No newline at end of file
local
sg
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
end
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