Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
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
ygopro-rush-duel
Commits
83bf58d1
Commit
83bf58d1
authored
Dec 03, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/12/3 bug修复
parent
f8841dd5
Pipeline
#41821
passed with stages
in 7 minutes and 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c120297006.lua
script/c120297006.lua
+4
-4
No files found.
script/c120297006.lua
View file @
83bf58d1
...
@@ -14,10 +14,10 @@ end
...
@@ -14,10 +14,10 @@ end
--Cannot To Hand & Deck & Extra
--Cannot To Hand & Deck & Extra
function
cm
.
filter1
(
c
)
function
cm
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_GALAXY
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_GALAXY
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetFlagEffect
(
m
)
==
0
and
c
:
GetFlagEffect
(
20297006
)
==
0
end
end
function
cm
.
filter2
(
c
)
function
cm
.
filter2
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
GetFlagEffect
(
m
)
==
0
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
GetFlagEffect
(
20297006
)
==
0
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
cm
.
filter1
(
c
)
or
cm
.
filter2
(
c
)
return
cm
.
filter1
(
c
)
or
cm
.
filter2
(
c
)
...
@@ -37,7 +37,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectGroupAndDoAction
(
aux
.
Stringid
(
m
,
1
),
cm
.
filter
,
cm
.
check
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
function
(
g
)
RD
.
SelectGroupAndDoAction
(
aux
.
Stringid
(
m
,
1
),
cm
.
filter
,
cm
.
check
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
2
,
nil
,
function
(
g
)
g
:
ForEach
(
function
(
tc
)
g
:
ForEach
(
function
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
...
@@ -53,7 +53,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_TO_DECK_EFFECT
)
e2
:
SetCode
(
EFFECT_CANNOT_TO_DECK_EFFECT
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
if
not
tc
:
IsImmuneToEffect
(
e
)
then
if
not
tc
:
IsImmuneToEffect
(
e
)
then
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
0
,
1
)
tc
:
RegisterFlagEffect
(
20297006
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
+
RESET_OPPO_TURN
,
0
,
1
)
end
end
end
)
end
)
end
)
end
)
...
...
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