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
032cce59
Commit
032cce59
authored
Oct 24, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
1296b1c2
Pipeline
#41262
passed with stages
in 1 minute and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
script/c101303077.lua
script/c101303077.lua
+8
-1
No files found.
script/c101303077.lua
View file @
032cce59
...
...
@@ -19,13 +19,16 @@ function s.initial_effect(c)
s
.
globle_check
=
true
rl_ReleaseRitualMaterial
=
Duel
.
ReleaseRitualMaterial
Duel
.
ReleaseRitualMaterial
=
function
(
mat
)
if
mat
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
then
if
mat
:
IsExists
(
s
.
rlfilter
,
1
,
nil
)
then
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
rl_ReleaseRitualMaterial
(
mat
)
end
end
end
function
s
.
rlfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsType
(
TYPE_RITUAL
)
end
function
s
.
extraop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tc
,
mat
)
if
not
tc
then
return
end
local
fid
=
e
:
GetHandler
():
GetFieldID
()
...
...
@@ -58,6 +61,7 @@ function s.rlop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_EXTRA_RITUAL_MATERIAL
)
e1
:
SetTargetRange
(
LOCATION_GRAVE
,
0
)
e1
:
SetCondition
(
s
.
rlcon
)
e1
:
SetTarget
(
s
.
rltg
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
@@ -66,4 +70,7 @@ function s.rlop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
rlcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
end
function
s
.
rltg
(
e
,
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
end
\ No newline at end of file
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