Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
b94d857e
Commit
b94d857e
authored
May 25, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0638fd19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
28 deletions
+17
-28
expansions/script/c13000749.lua
expansions/script/c13000749.lua
+16
-27
expansions/script/c9910060.lua
expansions/script/c9910060.lua
+1
-1
No files found.
expansions/script/c13000749.lua
View file @
b94d857e
...
...
@@ -17,31 +17,25 @@ end
function
cm
.
chkfilter
(
c
,
i
)
return
c
:
GetSequence
()
==
i
end
function
cm
.
rdfi0ter
(
c
,
e
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
((
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
())
or
(
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsDestructable
(
e
)))
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
snum
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_DECK
,
0
,
nil
,
TYPE_RITUAL
)
if
snum
<=
0
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
g2
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
not
g2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
snum
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
rdfi0ter
,
tp
,
0x0e
,
0
,
1
,
20
,
e
:
GetHandler
(),
e
)
if
not
g1
then
return
end
snum
=
g1
:
GetCount
()
+
1
local
num
=
0
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
for
i
=
1
,
#
g2
,
1
do
if
num
==
snum
then
break
end
local
tc
=
Duel
.
GetMatchingGroup
(
cm
.
chkfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
#
g2
-
i
):
GetFirst
()
if
tc
:
IsType
(
TYPE_RITUAL
)
then
snum
=
snum
+
1
end
num
=
num
+
1
end
if
num
>=#
g2
then
Duel
.
ConfirmDecktop
(
tp
,
#
g2
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleHand
(
tp
)
return
end
g1
:
AddCard
(
e
:
GetHandler
())
local
num
=
g1
:
GetCount
()
*
3
if
num
>#
g2
then
num
=#
g2
end
local
rlg
=
g1
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_MONSTER
)
Duel
.
Release
(
rlg
,
REASON_EFFECT
)
local
dsg
=
g1
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
)
Duel
.
Destroy
(
dsg
,
REASON_EFFECT
)
Duel
.
ConfirmDecktop
(
tp
,
num
)
Duel
.
ShuffleHand
(
tp
)
::
cancel
::
...
...
@@ -128,9 +122,7 @@ end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsDiscardable
()
end
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
if
chk
==
0
then
return
not
c
:
IsPublic
()
end
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
@@ -188,7 +180,4 @@ function cm.adop(e,tp,eg,ep,ev,re,r,rp)
e6
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
tc
:
RegisterEffect
(
e6
)
end
end
end
\ No newline at end of file
expansions/script/c9910060.lua
View file @
b94d857e
...
...
@@ -45,7 +45,7 @@ function c9910060.xyzop(e,tp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
false
,
2
,
2
,
Card
.
IsAttribute
,
ATTRIBUTE_LIGHT
,
ATTRIBUTE_DARK
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
Duel
.
RegisterFlagEffect
(
tp
,
9910060
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
9910060
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
end
function
c9910060
.
effcon
(
e
)
return
e
:
GetHandler
():
GetOverlayCount
()
>
0
...
...
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