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
542e45c3
Commit
542e45c3
authored
Dec 21, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Mitsurugi Ritual
parent
2ad3dfa9
Pipeline
#31900
passed with stages
in 1 minute and 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
SUDA-EN.cdb
SUDA-EN.cdb
+0
-0
script/c101207095.lua
script/c101207095.lua
+7
-6
No files found.
SUDA-EN.cdb
View file @
542e45c3
No preview for this file type
script/c101207095.lua
View file @
542e45c3
...
...
@@ -21,23 +21,24 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
Card
.
IsRace
,
nil
,
RACE_REPTILE
)
local
mg2
=
Duel
.
GetMatchingGroup
(
s
.
mfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
b
1
=
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
s
.
filter
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
local
s
1
=
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
s
.
filter
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
aux
.
GCheckAdditional
=
s
.
gfilter
local
b
2
=
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
s
.
filter
,
e
,
tp
,
mg1
,
mg2
,
Card
.
GetLevel
,
"Equal"
)
local
s
2
=
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
s
.
filter
,
e
,
tp
,
mg1
,
mg2
,
Card
.
GetLevel
,
"Equal"
)
aux
.
GCheckAdditional
=
nil
if
chk
==
0
then
return
b1
and
(
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
or
not
e
:
IsCostChecked
())
or
b2
and
(
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
or
not
e
:
IsCostChecked
())
end
local
b1
=
s1
and
(
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
or
not
e
:
IsCostChecked
())
local
b2
=
s2
and
(
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
or
not
e
:
IsCostChecked
())
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
id
,
1
)},
{
b2
,
aux
.
Stringid
(
id
,
2
)})
if
op
==
1
then
if
not
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
e
:
SetOperation
(
s
.
spop1
)
elseif
op
==
2
then
if
not
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
...
...
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