Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
5fece12c
Commit
5fece12c
authored
Sep 01, 2021
by
mercury233
Committed by
GitHub
Sep 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ルイ・キューピット (#1699)
parent
d471e9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
c21915012.lua
c21915012.lua
+10
-1
No files found.
c21915012.lua
View file @
5fece12c
...
...
@@ -45,7 +45,16 @@ function c21915012.valcheck(e,c)
local
mg
=
g
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_TUNER
)
if
#
mg
==
1
then
local
tc
=
mg
:
GetFirst
()
e
:
GetLabelObject
():
SetLabel
(
tc
:
GetLevel
())
local
lv
=
tc
:
GetSynchroLevel
(
c
)
local
lv2
=
lv
>>
16
lv
=
lv
&
0xffff
if
lv2
>
0
and
not
g
:
CheckWithSumEqual
(
Card
.
GetLevel
,
c
:
GetLevel
(),
#
g
,
#
g
,
c
)
then
lv
=
lv2
end
if
tc
:
IsHasEffect
(
89818984
)
and
not
g
:
CheckWithSumEqual
(
Card
.
GetSynchroLevel
,
c
:
GetLevel
(),
#
g
,
#
g
,
c
)
then
lv
=
2
end
e
:
GetLabelObject
():
SetLabel
(
lv
)
end
end
function
c21915012
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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