Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
f1bb5a77
Commit
f1bb5a77
authored
Jul 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
defee741
Pipeline
#14458
passed with stages
in 30 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c81012083.lua
expansions/script/c81012083.lua
+2
-2
No files found.
expansions/script/c81012083.lua
View file @
f1bb5a77
...
@@ -61,7 +61,7 @@ function cm.filter(c,e,tp,m)
...
@@ -61,7 +61,7 @@ function cm.filter(c,e,tp,m)
if
c
.
mat_filter
then
if
c
.
mat_filter
then
m
=
m
:
Filter
(
c
.
mat_filter
,
nil
,
tp
)
m
=
m
:
Filter
(
c
.
mat_filter
,
nil
,
tp
)
end
end
return
m
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
c
:
GetLevel
(),
1
,
99
,
c
)
return
m
:
CheckWithSumGreater
(
Card
.
GetRitualLevel
,
c
:
GetLevel
(),
c
)
end
end
function
cm
.
matfilter
(
c
)
function
cm
.
matfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsRace
(
RACE_PYRO
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToDeck
()
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsRace
(
RACE_PYRO
)
and
c
:
IsFaceup
()
and
c
:
IsAbleToDeck
()
...
@@ -85,7 +85,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,7 +85,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
mg
=
mg
:
Filter
(
tc
.
mat_filter
,
nil
,
tp
)
mg
=
mg
:
Filter
(
tc
.
mat_filter
,
nil
,
tp
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
mat
=
mg
:
SelectWithSumGreater
(
tp
,
Card
.
GetRitualLevel
,
tc
:
GetLevel
(),
1
,
99
,
tc
)
local
mat
=
mg
:
SelectWithSumGreater
(
tp
,
Card
.
GetRitualLevel
,
tc
:
GetLevel
(),
tc
)
tc
:
SetMaterial
(
mat
)
tc
:
SetMaterial
(
mat
)
Duel
.
SendtoDeck
(
mat
,
nil
,
2
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_RITUAL
)
Duel
.
SendtoDeck
(
mat
,
nil
,
2
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_RITUAL
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
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