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
fd41701c
Commit
fd41701c
authored
Mar 26, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/3/26 bug修复
parent
20396fab
Pipeline
#26085
passed with stages
in 10 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
script/c120235060.lua
script/c120235060.lua
+3
-4
No files found.
script/c120235060.lua
View file @
fd41701c
...
...
@@ -26,17 +26,16 @@ end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
ag
=
Duel
.
GetAttacker
():
GetAttackableTarget
()
local
at
=
Duel
.
GetAttackTarget
()
return
ag
:
IsExists
(
aux
.
TRUE
,
1
,
at
)
return
ag
:
GetCount
()
>
1
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ag
=
Duel
.
GetAttacker
():
GetAttackableTarget
()
local
at
=
Duel
.
GetAttackTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATTACKTARGET
)
local
g
=
ag
:
Select
(
tp
,
1
,
1
,
at
)
local
g
=
ag
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
ChangeAttackTarget
(
tc
)
then
if
tc
and
(
tc
==
at
or
Duel
.
ChangeAttackTarget
(
tc
)
)
then
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
mg
:
CheckSubGroup
(
cm
.
check
,
2
,
2
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_DESTROY
,
nil
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
function
(
sg
)
...
...
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