Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
ygopro-scripts-888
Commits
7d9c44fe
Commit
7d9c44fe
authored
Nov 16, 2025
by
wind2009
Committed by
GitHub
Nov 16, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for ritual from extra deck (#3054)
parent
cd61a83e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
procedure.lua
procedure.lua
+11
-1
No files found.
procedure.lua
View file @
7d9c44fe
...
@@ -1732,7 +1732,17 @@ end
...
@@ -1732,7 +1732,17 @@ end
---|"'Equal'"
---|"'Equal'"
---@return boolean
---@return boolean
function
Auxiliary
.
RitualCheck
(
g
,
tp
,
c
,
lv
,
greater_or_equal
)
function
Auxiliary
.
RitualCheck
(
g
,
tp
,
c
,
lv
,
greater_or_equal
)
return
Auxiliary
[
"RitualCheck"
..
greater_or_equal
](
g
,
c
,
lv
)
and
Duel
.
GetMZoneCount
(
tp
,
g
,
tp
)
>
0
and
(
not
c
.
mat_group_check
or
c
.
mat_group_check
(
g
,
tp
))
-- Check if there's space to summon
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
if
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
c
)
<=
0
then
return
false
end
else
if
Duel
.
GetMZoneCount
(
tp
,
g
,
tp
)
<=
0
then
return
false
end
end
return
Auxiliary
[
"RitualCheck"
..
greater_or_equal
](
g
,
c
,
lv
)
and
(
not
c
.
mat_group_check
or
c
.
mat_group_check
(
g
,
tp
))
and
(
not
Auxiliary
.
RCheckAdditional
or
Auxiliary
.
RCheckAdditional
(
tp
,
g
,
c
))
and
(
not
Auxiliary
.
RCheckAdditional
or
Auxiliary
.
RCheckAdditional
(
tp
,
g
,
c
))
end
end
function
Auxiliary
.
RitualCheckAdditionalLevel
(
c
,
rc
)
function
Auxiliary
.
RitualCheckAdditionalLevel
(
c
,
rc
)
...
...
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