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
Ai
ygopro-222DIY-cards
Commits
b0e10117
Commit
b0e10117
authored
Jun 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
01893f5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/glitchylib_vsnemo.lua
expansions/script/glitchylib_vsnemo.lua
+2
-2
No files found.
expansions/script/glitchylib_vsnemo.lua
View file @
b0e10117
...
@@ -550,8 +550,8 @@ end
...
@@ -550,8 +550,8 @@ end
function
Card
.
HasLevel
(
c
)
function
Card
.
HasLevel
(
c
)
if
c
:
IsType
(
TYPE_MONSTER
)
then
if
c
:
IsType
(
TYPE_MONSTER
)
then
return
(
c
:
GetType
()
&
TYPE_LINK
~=
TYPE_LINK
and
c
:
GetType
()
&
TYPE_XYZ
~=
TYPE_XYZ
)
and
not
c
:
IsStatus
(
STATUS_NO_LEVEL
)
return
(
c
:
GetType
()
&
TYPE_LINK
~=
TYPE_LINK
and
c
:
GetType
()
&
TYPE_XYZ
~=
TYPE_XYZ
)
and
not
c
:
IsStatus
(
STATUS_NO_LEVEL
)
elseif
c
:
IsOriginalType
(
TYPE_MONSTER
)
then
elseif
c
:
GetOriginalType
()
==
TYPE_MONSTER
then
return
not
(
c
:
IsOriginalType
(
TYPE_XYZ
+
TYPE_LINK
)
or
c
:
IsStatus
(
STATUS_NO_LEVEL
))
return
not
(
c
:
GetOriginalType
()
==
TYPE_XYZ
+
TYPE_LINK
or
c
:
IsStatus
(
STATUS_NO_LEVEL
))
end
end
return
false
return
false
end
end
...
...
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