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
c13b22c4
Commit
c13b22c4
authored
Jun 25, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b4a1757e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
c739444.lua
c739444.lua
+2
-1
No files found.
c739444.lua
View file @
c13b22c4
...
@@ -19,6 +19,7 @@ function c739444.initial_effect(c)
...
@@ -19,6 +19,7 @@ function c739444.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_DISABLE_FIELD
)
e2
:
SetCode
(
EFFECT_DISABLE_FIELD
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_REPEAT
)
e2
:
SetCondition
(
c739444
.
discon
)
e2
:
SetCondition
(
c739444
.
discon
)
e2
:
SetOperation
(
c739444
.
disop
)
e2
:
SetOperation
(
c739444
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -43,6 +44,6 @@ end
...
@@ -43,6 +44,6 @@ end
function
c739444
.
disop
(
e
,
tp
)
function
c739444
.
disop
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
flag1
=
bit
.
band
(
c
:
GetLinkedZone
(
tp
),
0xffffff00
)
local
flag1
=
bit
.
band
(
c
:
GetLinkedZone
(
tp
),
0xffffff00
)
local
flag2
=
bit
.
band
(
c
:
GetLinkedZone
(
1
-
tp
),
0xff00ffff
)
local
flag2
=
bit
.
band
(
c
:
GetLinkedZone
(
tp
),
0xff00ffff
)
return
flag1
+
flag2
return
flag1
+
flag2
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