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
3
Issues
3
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
6592c40e
Commit
6592c40e
authored
Jun 29, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/6/29 bug修复
parent
c25f5281
Pipeline
#14340
passed with stages
in 3 minutes and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c120222038.lua
script/c120222038.lua
+2
-2
No files found.
script/c120222038.lua
View file @
6592c40e
...
...
@@ -18,7 +18,7 @@ function cm.exfilter(c)
return
c
:
GetSequence
()
<
5
end
function
cm
.
posfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
and
RD
.
IsCanChangePosition
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
and
RD
.
IsCanChangePosition
(
c
)
and
c
:
IsCanTurnSet
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
RD
.
IsSummonTurn
(
e
:
GetHandler
())
...
...
@@ -31,7 +31,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
RD
.
SendDeckTopToGraveAndExists
(
tp
,
2
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_POSCHANGE
,
cm
.
posfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
function
(
g
)
RD
.
ChangePosition
(
g
,
POS_FACE
UP
_DEFENSE
)
RD
.
ChangePosition
(
g
,
POS_FACE
DOWN
_DEFENSE
)
end
)
end
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