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
48f4ac43
Commit
48f4ac43
authored
May 26, 2016
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #406 from Tianchenglipu/patch-chain
update_cannot_be_chained_2
parents
a3ef290b
05a4c4a3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
6 deletions
+18
-6
c19059929.lua
c19059929.lua
+3
-1
c40736921.lua
c40736921.lua
+3
-1
c48130397.lua
c48130397.lua
+3
-1
c78610936.lua
c78610936.lua
+3
-1
c79306385.lua
c79306385.lua
+3
-1
c97120394.lua
c97120394.lua
+3
-1
No files found.
c19059929.lua
View file @
48f4ac43
...
@@ -23,7 +23,9 @@ function c19059929.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -23,7 +23,9 @@ function c19059929.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_SZONE
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_SZONE
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
19059929
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
19059929
,
0
))
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_SZONE
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_SZONE
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SetChainLimit
(
c19059929
.
limit
(
g
:
GetFirst
()))
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
c19059929
.
limit
(
g
:
GetFirst
()))
end
end
end
function
c19059929
.
limit
(
c
)
function
c19059929
.
limit
(
c
)
return
function
(
e
,
lp
,
tp
)
return
function
(
e
,
lp
,
tp
)
...
...
c40736921.lua
View file @
48f4ac43
...
@@ -14,7 +14,9 @@ function c40736921.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -14,7 +14,9 @@ function c40736921.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
40736921
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
40736921
,
0
))
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SetChainLimit
(
aux
.
FALSE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
end
function
c40736921
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40736921
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c48130397.lua
View file @
48f4ac43
...
@@ -42,7 +42,9 @@ function c48130397.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,7 +42,9 @@ function c48130397.target(e,tp,eg,ep,ev,re,r,rp,chk)
return
res
return
res
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
end
function
c48130397
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c48130397
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
local
chkf
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
PLAYER_NONE
or
tp
...
...
c78610936.lua
View file @
48f4ac43
...
@@ -20,7 +20,9 @@ function c78610936.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -20,7 +20,9 @@ function c78610936.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c78610936
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c78610936
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
end
function
c78610936
.
spfilter
(
c
,
e
,
tp
)
function
c78610936
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
...
...
c79306385.lua
View file @
48f4ac43
...
@@ -32,7 +32,9 @@ function c79306385.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -32,7 +32,9 @@ function c79306385.target(e,tp,eg,ep,ev,re,r,rp,chk)
return
ft
>-
1
and
Duel
.
IsExistingMatchingCard
(
c79306385
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
ft
)
return
ft
>-
1
and
Duel
.
IsExistingMatchingCard
(
c79306385
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
ft
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetChainLimit
(
c79306385
.
chlimit
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
c79306385
.
chlimit
)
end
end
end
function
c79306385
.
chlimit
(
e
,
ep
,
tp
)
function
c79306385
.
chlimit
(
e
,
ep
,
tp
)
return
tp
==
ep
return
tp
==
ep
...
...
c97120394.lua
View file @
48f4ac43
...
@@ -15,7 +15,9 @@ function c97120394.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,9 @@ function c97120394.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c97120394
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c97120394
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetChainLimit
(
aux
.
FALSE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
end
function
c97120394
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97120394
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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