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
2327e766
Commit
2327e766
authored
Nov 03, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #93 from destdev/patch-5
Update c15155568.lua
parents
79caf750
290952a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
c15155568.lua
c15155568.lua
+12
-11
No files found.
c15155568.lua
View file @
2327e766
...
...
@@ -9,17 +9,17 @@ function c15155568.initial_effect(c)
e1
:
SetTarget
(
c15155568
.
target
)
e1
:
SetOperation
(
c15155568
.
activate
)
c
:
RegisterEffect
(
e1
)
--
local
e
4
=
Effect
.
CreateEffect
(
c
)
e
4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e
4
:
SetCategory
(
CATEGORY_DISABLE
)
e
4
:
SetCode
(
EVENT_CHAINING
)
e
4
:
SetRange
(
LOCATION_GRAVE
)
e
4
:
SetCondition
(
c15155568
.
ngcon
)
e
4
:
SetCost
(
c15155568
.
ngcost
)
e
4
:
SetTarget
(
c15155568
.
ngtg
)
e
4
:
SetOperation
(
c15155568
.
ngop
)
c
:
RegisterEffect
(
e
4
)
--
to hand
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_QUICK_O
)
e
2
:
SetCategory
(
CATEGORY_DISABLE
)
e
2
:
SetCode
(
EVENT_CHAINING
)
e
2
:
SetRange
(
LOCATION_GRAVE
)
e
2
:
SetCondition
(
c15155568
.
ngcon
)
e
2
:
SetCost
(
c15155568
.
ngcost
)
e
2
:
SetTarget
(
c15155568
.
ngtg
)
e
2
:
SetOperation
(
c15155568
.
ngop
)
c
:
RegisterEffect
(
e
2
)
end
function
c15155568
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
98502113
)
or
c
:
IsCode
(
86240887
))
...
...
@@ -39,6 +39,7 @@ end
function
c15155568
.
ngcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
end
local
loc
,
tg
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TARGET_CARDS
)
if
not
tg
then
return
false
end
local
tc
=
tg
:
GetFirst
()
if
tg
:
GetCount
()
~=
1
or
not
tc
:
IsLocation
(
LOCATION_MZONE
)
or
not
tc
:
IsSetCard
(
0xd7
)
or
tc
:
IsControler
(
1
-
tp
)
then
return
false
end
return
Duel
.
IsChainDisablable
(
ev
)
and
loc
~=
LOCATION_DECK
...
...
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