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
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
5d9c8c69
Commit
5d9c8c69
authored
Mar 10, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/3/10 bug修复
parent
a2bc1304
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
script/c120238004.lua
script/c120238004.lua
+1
-1
script/c120238019.lua
script/c120238019.lua
+1
-1
No files found.
script/c120238004.lua
View file @
5d9c8c69
...
...
@@ -21,7 +21,7 @@ function cm.check(e,c)
local
atk
=
0
local
g
=
c
:
GetMaterial
()
if
g
:
GetCount
()
==
1
then
atk
=
cm
.
getatk
(
g
:
GetFirst
())
atk
=
cm
.
getatk
(
g
:
GetFirst
())
*
2
elseif
g
:
GetCount
()
==
2
then
atk
=
cm
.
getatk
(
g
:
GetFirst
())
+
cm
.
getatk
(
g
:
GetNext
())
end
...
...
script/c120238019.lua
View file @
5d9c8c69
...
...
@@ -20,7 +20,7 @@ end
function
cm
.
check
(
e
,
c
)
local
tc
=
c
:
GetMaterial
():
GetFirst
()
local
atk
=
0
if
tc
then
atk
=
tc
:
Get
Base
Attack
()
*
2
end
if
tc
then
atk
=
tc
:
Get
Text
Attack
()
*
2
end
if
atk
>
0
and
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
RD
.
AttachAtkDef
(
e
,
c
,
atk
,
0
,
RESET_EVENT
+
0xff0000
)
...
...
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