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
10e58aa6
Commit
10e58aa6
authored
Jul 20, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/7/20 bug修复
parent
5bb5d179
Pipeline
#28518
passed with stages
in 6 minutes and 42 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
script/c120218004.lua
script/c120218004.lua
+2
-2
script/c120228024.lua
script/c120228024.lua
+2
-2
No files found.
script/c120218004.lua
View file @
10e58aa6
...
@@ -42,8 +42,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
dam
==
0
then
return
end
if
dam
==
0
then
return
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
atk
=
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
local
atk
=
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
if
atk
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
atk
~=
0
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
g
:
ForEach
(
function
(
tc
)
g
:
ForEach
(
function
(
tc
)
RD
.
AttachAtkDef
(
e
,
tc
,
-
atk
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
RD
.
AttachAtkDef
(
e
,
tc
,
-
atk
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
end
)
end
)
...
...
script/c120228024.lua
View file @
10e58aa6
...
@@ -42,8 +42,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,8 +42,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
dam
==
0
then
return
end
if
dam
==
0
then
return
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
atk
=
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
local
atk
=
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
)
if
atk
~=
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
atk
~=
0
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
g
:
ForEach
(
function
(
tc
)
g
:
ForEach
(
function
(
tc
)
RD
.
AttachAtkDef
(
e
,
tc
,
-
atk
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
RD
.
AttachAtkDef
(
e
,
tc
,
-
atk
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_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