Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
0015e0bd
Commit
0015e0bd
authored
Nov 30, 2023
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ea241d48
Pipeline
#24201
passed with stages
in 32 minutes and 22 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
expansions/script/c23000400.lua
expansions/script/c23000400.lua
+2
-2
expansions/script/c23000680.lua
expansions/script/c23000680.lua
+3
-2
No files found.
expansions/script/c23000400.lua
View file @
0015e0bd
...
...
@@ -3,7 +3,7 @@ if c23000400 then return end
c23000400
=
c23000400
or
{}
local
m
=
23000400
local
bm
=
_G
[
"c"
..
m
]
local
Version_Number
=
20231
002
local
Version_Number
=
20231
127
local
tcode
=
0x364
--Instructions about how to use this
--[[
...
...
@@ -416,7 +416,7 @@ function bm.matfilter1(c,syncard,tp)
if
syncard
:
IsOriginalCodeRule
(
23000630
)
and
not
c
:
IsCode
(
23000640
)
then
return
false
end
if
c
:
IsFacedown
()
and
not
c
:
GetEquipTarget
()
then
return
false
end
if
bm
.
othermatfilter
(
c
)
and
c
:
IsLocation
(
sz
)
then
return
true
end
return
(
c
:
IsSetCard
(
tcode
)
or
syncard
:
IsOriginalCodeRule
(
23000640
,
23000650
))
and
c
:
IsTuner
(
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_MZONE
))
return
(
c
:
IsSetCard
(
tcode
)
or
syncard
:
IsOriginalCodeRule
(
23000640
)
or
syncard
:
IsOriginalCodeRule
(
23000650
))
and
c
:
IsTuner
(
syncard
)
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_MZONE
))
end
function
bm
.
matfilter2
(
c
,
syncard
)
if
syncard
:
IsOriginalCodeRule
(
23000630
)
and
not
c
:
IsSynchroType
(
TYPE_SYNCHRO
)
then
return
false
end
...
...
expansions/script/c23000680.lua
View file @
0015e0bd
...
...
@@ -70,8 +70,9 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
slevel
(
e
,
c
)
local
lv
=
e
:
GetHandler
():
GetLevel
()
return
1
*
65536
+
lv
and
c
:
IsCode
(
23000640
)
local
lv
=
aux
.
GetCappedLevel
(
e
:
GetHandler
())
if
not
c
:
IsCode
(
23000640
)
then
return
lv
end
return
(
2
<<
16
)
+
lv
end
function
cm
.
cfilter
(
c
)
return
bm
.
c
.
cpos
(
c
,
tcode
)
and
not
c
:
IsType
(
TYPE_TUNER
)
...
...
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