Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
45358408
Commit
45358408
authored
Jun 01, 2023
by
oilloillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c999206.lua
parent
6dff98bd
Pipeline
#22042
passed with stage
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c999206.lua
script/c999206.lua
+3
-3
No files found.
script/c999206.lua
View file @
45358408
...
...
@@ -45,13 +45,13 @@ aux.FilterBoolFunction(Card.IsFusionSetCard,0xaa1),
}
function
M
.
spfilter1
(
c
,
tp
,
fc
)
local
flag
=
Duel
.
GetLocationCount
FromEx
(
tp
,
tp
,
c
,
TYPE_FUSION
)
<
1
local
flag
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
return
c
:
IsCode
(
999203
)
and
c
:
IsAbleToDeckAsCost
()
and
c
:
IsCanBeFusionMaterial
(
fc
)
and
Duel
.
IsExistingMatchingCard
(
M
.
spfilter2
,
tp
,
LOCATION_MZONE
+
LOCATION_EXTRA
,
0
,
1
,
c
,
fc
,
flag
)
end
function
M
.
spfilter2
(
c
,
fc
,
flag
)
if
flag
and
Duel
.
GetLocationCount
FromEx
(
tp
,
tp
,
c
,
TYPE_FUSION
)
<
1
then
return
false
end
if
flag
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
then
return
false
end
return
c
:
IsSetCard
(
0xaa1
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
and
c
:
IsAbleToDeckAsCost
()
end
...
...
@@ -65,7 +65,7 @@ function M.sprop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
M
.
spfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
tp
,
c
)
local
flag
=
Duel
.
GetLocationCount
FromEx
(
tp
,
tp
,
g1
:
GetFirst
(),
TYPE_FUSION
)
<
1
local
flag
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<
1
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
M
.
spfilter2
,
tp
,
LOCATION_MZONE
+
LOCATION_EXTRA
,
0
,
1
,
1
,
g1
:
GetFirst
(),
c
,
flag
)
...
...
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