Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
八宫一月
ygopro-THC-cards
Commits
4edfa932
Commit
4edfa932
authored
Jan 24, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c74562021.lua
parent
a7b26c62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
script/c74562021.lua
script/c74562021.lua
+1
-2
No files found.
script/c74562021.lua
View file @
4edfa932
...
@@ -122,7 +122,7 @@ function cCardno.ssop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -122,7 +122,7 @@ function cCardno.ssop(e,tp,eg,ep,ev,re,r,rp)
end
end
-- xyz
-- xyz
function
cCardno
.
xyzfilter
(
c
,
tp
,
xyzc
)
function
cCardno
.
xyzfilter
(
c
,
tp
,
xyzc
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeXyzMaterial
(
xyzc
)
and
(
(
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRank
(
12
)
)
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x298
)
)
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeXyzMaterial
(
xyzc
)
and
(
(
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsRank
(
12
))
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x298
)))
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
xyzc
)
>
0
end
end
function
cCardno
.
xyzfilter2
(
c
)
function
cCardno
.
xyzfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x298
)
and
c
:
IsAbleToDeck
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x298
)
and
c
:
IsAbleToDeck
()
...
@@ -130,7 +130,6 @@ end
...
@@ -130,7 +130,6 @@ end
function
cCardno
.
xyzcon
(
e
,
c
)
function
cCardno
.
xyzcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
if
Duel
.
GetLocationCountFromEx
(
tp
)
<
0
then
return
false
end
return
Duel
.
IsExistingMatchingCard
(
cCardno
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
return
Duel
.
IsExistingMatchingCard
(
cCardno
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
,
c
)
end
end
function
cCardno
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cCardno
.
xyzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
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