Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
ygopro-scripts
Commits
c27c538d
Commit
c27c538d
authored
Dec 27, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
limit ritual max mat count
parent
8792c869
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utility.lua
utility.lua
+2
-2
No files found.
utility.lua
View file @
c27c538d
...
@@ -1411,7 +1411,7 @@ function Auxiliary.RitualUltimateFilter(c,filter,e,tp,m1,m2,level_function,great
...
@@ -1411,7 +1411,7 @@ function Auxiliary.RitualUltimateFilter(c,filter,e,tp,m1,m2,level_function,great
else
else
mg
:
RemoveCard
(
c
)
mg
:
RemoveCard
(
c
)
end
end
return
mg
:
CheckSubGroup
(
Auxiliary
.
RitualCheck
,
1
,
63
,
tp
,
c
,
level_function
(
c
),
greater_or_equal
)
return
mg
:
CheckSubGroup
(
Auxiliary
.
RitualCheck
,
1
,
level_function
(
c
)
,
tp
,
c
,
level_function
(
c
),
greater_or_equal
)
end
end
function
Auxiliary
.
RitualExtraFilter
(
c
,
f
)
function
Auxiliary
.
RitualExtraFilter
(
c
,
f
)
return
c
:
GetLevel
()
>
0
and
f
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
GetLevel
()
>
0
and
f
(
c
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
...
@@ -1452,7 +1452,7 @@ function Auxiliary.RitualUltimateOperation(filter,level_function,greater_or_equa
...
@@ -1452,7 +1452,7 @@ function Auxiliary.RitualUltimateOperation(filter,level_function,greater_or_equa
mg
:
RemoveCard
(
tc
)
mg
:
RemoveCard
(
tc
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
mat
=
mg
:
SelectSubGroup
(
tp
,
Auxiliary
.
RitualCheck
,
false
,
1
,
63
,
tp
,
tc
,
level_function
(
tc
),
greater_or_equal
)
local
mat
=
mg
:
SelectSubGroup
(
tp
,
Auxiliary
.
RitualCheck
,
false
,
1
,
level_function
(
tc
)
,
tp
,
tc
,
level_function
(
tc
),
greater_or_equal
)
tc
:
SetMaterial
(
mat
)
tc
:
SetMaterial
(
mat
)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
ReleaseRitualMaterial
(
mat
)
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