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