Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
md-prerelease
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
yxli
md-prerelease
Commits
fb90b58b
Commit
fb90b58b
authored
Apr 13, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Mitsurugi Tempest
parent
6f443028
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c101208196.lua
script/c101208196.lua
+4
-4
No files found.
script/c101208196.lua
View file @
fb90b58b
...
@@ -14,7 +14,7 @@ function s.initial_effect(c)
...
@@ -14,7 +14,7 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
activate
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
s
.
spchecks
=
aux
.
CreateChecks
(
Card
.
Is
Cod
e
,{
101208192
,
19899073
,
55397172
})
s
.
spchecks
=
aux
.
CreateChecks
(
Card
.
Is
OriginalCodeRul
e
,{
101208192
,
19899073
,
55397172
})
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x1c3
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_SPELL
)
return
c
:
IsSetCard
(
0x1c3
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_SPELL
)
end
end
...
@@ -27,9 +27,9 @@ end
...
@@ -27,9 +27,9 @@ end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
):
Filter
(
s
.
rlfilter
,
c
,
tp
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
):
Filter
(
s
.
rlfilter
,
c
,
tp
)
if
chk
==
0
then
return
g
:
CheckSubGroupEach
(
s
.
spchecks
,
s
.
rlcheck
,
c
,
tp
)
end
if
chk
==
0
then
return
g
:
CheckSubGroupEach
(
s
.
spchecks
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rg
=
g
:
SelectSubGroupEach
(
tp
,
s
.
spchecks
,
false
,
s
.
rlcheck
,
c
,
tp
)
local
rg
=
g
:
SelectSubGroupEach
(
tp
,
s
.
spchecks
,
false
)
aux
.
UseExtraReleaseCount
(
rg
,
tp
)
aux
.
UseExtraReleaseCount
(
rg
,
tp
)
Duel
.
Release
(
rg
,
REASON_COST
)
Duel
.
Release
(
rg
,
REASON_COST
)
end
end
...
@@ -43,7 +43,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
Duel
.
IsPlayerCanRemove
(
1
-
tp
)
then
return
end
if
not
Duel
.
IsPlayerCanRemove
(
1
-
tp
)
then
return
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_HAND
+
LOCATION_EXTRA
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_HAND
+
LOCATION_EXTRA
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
7
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
FilterSelect
(
1
-
tp
,
Card
.
IsAbleToRemove
,
8
,
8
,
nil
,
1
-
tp
,
POS_FACEUP
,
REASON_RULE
)
local
sg
=
g
:
FilterSelect
(
1
-
tp
,
Card
.
IsAbleToRemove
,
8
,
8
,
nil
,
1
-
tp
,
POS_FACEUP
,
REASON_RULE
)
if
sg
:
GetCount
()
>
7
then
if
sg
:
GetCount
()
>
7
then
...
...
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