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
0496157b
Commit
0496157b
authored
Mar 13, 2019
by
nekrozar
Committed by
mercury233
Mar 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1169)
parent
1d1991a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
c73551138.lua
c73551138.lua
+4
-0
No files found.
c73551138.lua
View file @
0496157b
...
@@ -15,6 +15,7 @@ function c73551138.initial_effect(c)
...
@@ -15,6 +15,7 @@ function c73551138.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_DISABLE
)
e4
:
SetCategory
(
CATEGORY_DISABLE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetCondition
(
c73551138
.
negcon
)
e4
:
SetOperation
(
c73551138
.
negop
)
e4
:
SetOperation
(
c73551138
.
negop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
local
e5
=
e4
:
Clone
()
local
e5
=
e4
:
Clone
()
...
@@ -24,6 +25,9 @@ end
...
@@ -24,6 +25,9 @@ end
function
c73551138
.
filter
(
c
)
function
c73551138
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3a
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3a
)
end
end
function
c73551138
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c73551138
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
function
c73551138
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73551138
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
Duel
.
IsExistingMatchingCard
(
c73551138
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
then
return
end
if
not
Duel
.
IsExistingMatchingCard
(
c73551138
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
then
return
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