Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
八宫一月
pre-release-database-cdb
Commits
cad12edf
Commit
cad12edf
authored
May 14, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://code.mycard.moe/mycard/pre-release-database-cdb
parents
00ae1144
2a74bc5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c101206207.lua
script/c101206207.lua
+3
-3
No files found.
script/c101206207.lua
View file @
cad12edf
...
@@ -93,16 +93,16 @@ end
...
@@ -93,16 +93,16 @@ end
function
s
.
eqfilter
(
c
,
fid
)
function
s
.
eqfilter
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
id
)
==
fid
return
c
:
GetFlagEffectLabel
(
id
)
==
fid
end
end
function
s
.
eqfilter2
(
c
)
function
s
.
eqfilter2
(
c
,
ec
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
and
ec
:
CheckEquipTarget
(
c
)
and
ec
:
CheckUniqueOnField
(
tp
,
LOCATION_SZONE
)
and
not
ec
:
IsForbidden
()
and
ec
:
CheckEquipTarget
(
c
)
and
ec
:
CheckUniqueOnField
(
tp
,
LOCATION_SZONE
)
and
not
ec
:
IsForbidden
()
end
end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
local
ec
=
e
:
GetLabelObject
()
local
ec
=
e
:
GetLabelObject
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
ec
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
ec
):
GetFirst
()
Duel
.
Equip
(
tp
,
ec
,
tc
)
Duel
.
Equip
(
tp
,
ec
,
tc
)
end
end
end
end
\ No newline at end of file
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