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
826b7b10
Commit
826b7b10
authored
Sep 11, 2024
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c100226150.lua
parent
49dfb713
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
script/c100226150.lua
script/c100226150.lua
+15
-6
No files found.
script/c100226150.lua
View file @
826b7b10
...
...
@@ -12,15 +12,18 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
s
.
fusion_effect
=
true
function
s
.
fcheck
(
ct
)
function
s
.
fcheck
1
(
ct
)
return
function
(
tp
,
sg
,
fc
)
if
ct
>
0
and
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
>
ct
then
return
false
end
return
#
sg
>=
3
return
true
end
end
function
s
.
fcheck2
(
tp
,
sg
,
fc
)
return
sg
:
GetCount
()
>=
3
end
function
s
.
filter0
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToRemove
()
end
...
...
@@ -39,8 +42,10 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
mg
:
Merge
(
mg2
)
end
end
aux
.
FGoalCheckAdditional
=
s
.
fcheck
(
ct
)
aux
.
FCheckAdditional
=
s
.
fcheck1
(
ct
)
aux
.
FGoalCheckAdditional
=
s
.
fcheck2
local
res
=
Duel
.
IsExistingMatchingCard
(
s
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
nil
,
chkf
)
aux
.
FCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -64,9 +69,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
mg1
:
Merge
(
mg2
)
end
end
aux
.
FGoalCheckAdditional
=
s
.
fcheck
(
ct
)
aux
.
FCheckAdditional
=
s
.
fcheck1
(
ct
)
aux
.
FGoalCheckAdditional
=
s
.
fcheck2
local
sg1
=
Duel
.
GetMatchingGroup
(
s
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
aux
.
FGoalCheckAdditional
=
nil
local
mg2
=
nil
local
sg2
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -83,8 +88,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
tg
:
GetFirst
()
if
not
tc
then
return
end
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
ce
and
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
aux
.
FGoalCheckAdditional
=
s
.
fcheck
aux
.
FCheckAdditional
=
s
.
fcheck1
(
ct
)
aux
.
FGoalCheckAdditional
=
s
.
fcheck2
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg1
,
nil
,
chkf
)
aux
.
FCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
tc
:
SetMaterial
(
mat1
)
local
rg
=
mat1
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
...
...
@@ -110,4 +117,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
Duel
.
SpecialSummonComplete
()
tc
:
CompleteProcedure
()
aux
.
FCheckAdditional
=
nil
aux
.
FGoalCheckAdditional
=
nil
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