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
69bb96c3
Commit
69bb96c3
authored
Apr 08, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
486eff66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
35 deletions
+26
-35
script/c100220000.lua
script/c100220000.lua
+26
-35
No files found.
script/c100220000.lua
View file @
69bb96c3
...
...
@@ -78,48 +78,39 @@ function s.Alba_System_Drugmata_Fusion_Operation()
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
,
chkf
)
local
fc
=
e
:
GetHandler
()
local
tp
=
e
:
GetHandlerPlayer
()
local
fg
=
eg
:
Clone
()
local
g
=
nil
if
gc
then
if
s
.
Alba_System_Drugmata_Fusion_Filter
(
gc
,
eg
,
fc
,
tp
,
chkf
)
then
g
=
Group
.
FromCards
(
gc
)
eg
:
RemoveCard
(
gc
)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
eg
:
FilterSelect
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Filter
,
1
,
1
,
nil
,
eg
,
fc
,
tp
,
chkf
,
gc
)
eg
:
Sub
(
g
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
eg
:
FilterSelect
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Filter
,
1
,
1
,
nil
,
eg
,
fc
,
tp
,
chkf
,
nil
)
eg
:
Sub
(
g
)
end
local
sg
=
nil
aux
.
GCheckAdditional
=
aux
.
dncheck
local
mg
=
eg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
if
gc
and
g
:
IsContains
(
gc
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
false
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
,
gc
)
else
while
not
sg
do
if
g
then
fg
:
AddCard
(
g
:
GetFirst
())
end
if
gc
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
false
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
,
gc
)
if
s
.
Alba_System_Drugmata_Fusion_Filter
(
gc
,
fg
,
fc
,
tp
,
chkf
)
then
g
=
Group
.
FromCards
(
gc
)
fg
:
RemoveCard
(
gc
)
local
mg
=
fg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
false
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
,
gc
)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
fg
:
FilterSelect
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Filter
,
1
,
1
,
nil
,
fg
,
fc
,
tp
,
chkf
,
gc
)
fg
:
Sub
(
g
)
local
mg
=
fg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
true
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
,
gc
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
true
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
,
nil
)
g
=
fg
:
FilterSelect
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Filter
,
1
,
1
,
nil
,
fg
,
fc
,
tp
,
chkf
,
nil
)
fg
:
Sub
(
g
)
local
mg
=
fg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
aux
.
GCheckAdditional
=
aux
.
dncheck
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
true
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
)
aux
.
GCheckAdditional
=
nil
end
end
aux
.
GCheckAdditional
=
nil
while
not
sg
do
eg
:
AddCard
(
g
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
g
=
eg
:
FilterSelect
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Filter
,
1
,
1
,
nil
,
eg
,
fc
,
tp
,
chkf
,
nil
)
eg
:
Sub
(
g
)
local
mg
=
eg
:
Filter
(
s
.
matfilter
,
c
,
tp
)
aux
.
GCheckAdditional
=
aux
.
dncheck
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
sg
=
mg
:
SelectSubGroup
(
tp
,
s
.
Alba_System_Drugmata_Fusion_Gcheck
,
true
,
6
,
6
,
fc
,
tp
,
g
:
GetFirst
(),
chkf
)
aux
.
GCheckAdditional
=
nil
end
g
:
Merge
(
sg
)
Duel
.
SetFusionMaterial
(
g
)
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