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
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
MyCard
ygopro-scripts
Commits
0060228e
Commit
0060228e
authored
Dec 14, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6cd6efb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
c88086137.lua
c88086137.lua
+3
-2
No files found.
c88086137.lua
View file @
0060228e
...
@@ -12,9 +12,10 @@ function c88086137.initial_effect(c)
...
@@ -12,9 +12,10 @@ function c88086137.initial_effect(c)
end
end
function
c88086137
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88086137
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
seq
,
p
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_SEQUENCE
,
CHAININFO_TRIGGERING_CONTROLER
)
local
loc
,
seq
,
p
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_SEQUENCE
,
CHAININFO_TRIGGERING_CONTROLER
)
if
p
==
1
-
tp
then
seq
=
seq
+
16
end
if
p
==
1
-
tp
then
seq
=
seq
+
16
end
return
(
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_MZONE
),
seq
)
~=
0
or
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_SZONE
),
seq
)
~=
0
)
return
(
bit
.
band
(
loc
,
LOCATION_MZONE
)
~=
0
and
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_MZONE
),
seq
)
~=
0
or
bit
.
band
(
loc
,
LOCATION_SZONE
)
~=
0
and
bit
.
extract
(
c
:
GetColumnZone
(
LOCATION_SZONE
),
seq
)
~=
0
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
ev
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c88086137
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88086137
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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