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
05e31ce9
Commit
05e31ce9
authored
Jan 27, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/1/27 bug修复
parent
25de1f6f
Pipeline
#32809
passed with stages
in 9 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
script/c120278001.lua
script/c120278001.lua
+6
-3
script/c120278029.lua
script/c120278029.lua
+2
-1
No files found.
script/c120278001.lua
View file @
05e31ce9
...
@@ -43,11 +43,14 @@ function cm.check(g,tp,fc,chkf)
...
@@ -43,11 +43,14 @@ function cm.check(g,tp,fc,chkf)
end
end
--Base Atk & Def
--Base Atk & Def
function
cm
.
adval
(
e
)
function
cm
.
adval
(
e
)
return
e
:
GetHandler
():
GetMaterialCount
()
*
800
local
c
=
e
:
GetHandler
()
if
c
:
IsSummonType
(
TYPE_FUSION
)
then
return
c
:
GetMaterialCount
()
*
800
else
return
0
end
end
end
--Multiple Attack
--Multiple Attack
function
cm
.
atkval
(
e
)
function
cm
.
atkval
(
e
)
local
ct
=
e
:
GetHandler
():
GetMaterialCount
()
local
c
=
e
:
GetHandler
()
if
ct
==
0
then
return
0
local
ct
=
c
:
GetMaterialCount
()
if
not
c
:
IsSummonType
(
TYPE_FUSION
)
or
ct
==
0
then
return
0
else
return
ct
-
1
end
else
return
ct
-
1
end
end
end
\ No newline at end of file
script/c120278029.lua
View file @
05e31ce9
...
@@ -19,7 +19,8 @@ function cm.spfilter(c)
...
@@ -19,7 +19,8 @@ function cm.spfilter(c)
return
aux
.
IsMaterialListCode
(
c
,
list
[
1
])
return
aux
.
IsMaterialListCode
(
c
,
list
[
1
])
end
end
function
cm
.
exfilter
(
c
)
function
cm
.
exfilter
(
c
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
return
c
:
IsFusionAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
end
end
function
cm
.
matcheck
(
tp
,
sg
,
fc
)
function
cm
.
matcheck
(
tp
,
sg
,
fc
)
return
sg
:
GetCount
()
<=
5
return
sg
:
GetCount
()
<=
5
...
...
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