Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
1acc0233
Commit
1acc0233
authored
Feb 12, 2021
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ATTRIBUTE_ALL
parent
3453cf0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
c41659072.lua
c41659072.lua
+1
-1
constant.lua
constant.lua
+1
-0
No files found.
c41659072.lua
View file @
1acc0233
...
@@ -37,7 +37,7 @@ function c41659072.initial_effect(c)
...
@@ -37,7 +37,7 @@ function c41659072.initial_effect(c)
end
end
function
c41659072
.
syncheck
(
g
)
function
c41659072
.
syncheck
(
g
)
local
sg
=
g
:
Clone
()
local
sg
=
g
:
Clone
()
local
attr
=
0x7f
local
attr
=
ATTRIBUTE_ALL
for
c
in
aux
.
Next
(
sg
)
do
for
c
in
aux
.
Next
(
sg
)
do
attr
=
attr
&
c
:
GetAttribute
()
attr
=
attr
&
c
:
GetAttribute
()
if
attr
==
0
then
break
end
if
attr
==
0
then
break
end
...
...
constant.lua
View file @
1acc0233
...
@@ -55,6 +55,7 @@ TYPE_PENDULUM =0x1000000 --灵摆
...
@@ -55,6 +55,7 @@ TYPE_PENDULUM =0x1000000 --灵摆
TYPE_SPSUMMON
=
0x2000000
--特殊召唤
TYPE_SPSUMMON
=
0x2000000
--特殊召唤
TYPE_LINK
=
0x4000000
--连接
TYPE_LINK
=
0x4000000
--连接
--Attributes 属性
--Attributes 属性
ATTRIBUTE_ALL
=
0x7f
--All
ATTRIBUTE_EARTH
=
0x01
--地
ATTRIBUTE_EARTH
=
0x01
--地
ATTRIBUTE_WATER
=
0x02
--水
ATTRIBUTE_WATER
=
0x02
--水
ATTRIBUTE_FIRE
=
0x04
--炎
ATTRIBUTE_FIRE
=
0x04
--炎
...
...
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