Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
365e0478
Commit
365e0478
authored
Sep 05, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5a5923e6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
8 deletions
+6
-8
script/c57734012.lua
script/c57734012.lua
+2
-2
script/c67273917.lua
script/c67273917.lua
+1
-2
script/c71921856.lua
script/c71921856.lua
+2
-2
script/c93662626.lua
script/c93662626.lua
+1
-2
No files found.
script/c57734012.lua
View file @
365e0478
...
@@ -44,7 +44,7 @@ function c57734012.filter1(c,e,tp)
...
@@ -44,7 +44,7 @@ function c57734012.filter1(c,e,tp)
if
not
m
then
return
false
end
if
not
m
then
return
false
end
local
no
=
m
.
xyz_number
local
no
=
m
.
xyz_number
return
no
and
no
>=
101
and
no
<=
107
and
c
:
IsSetCard
(
0x48
)
and
not
c
:
IsSetCard
(
0x1048
)
return
no
and
no
>=
101
and
no
<=
107
and
c
:
IsSetCard
(
0x48
)
and
not
c
:
IsSetCard
(
0x1048
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
c57734012
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
,
no
)
and
Duel
.
IsExistingMatchingCard
(
c57734012
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
,
no
)
end
end
function
c57734012
.
filter2
(
c
,
e
,
tp
,
mc
,
no
)
function
c57734012
.
filter2
(
c
,
e
,
tp
,
mc
,
no
)
...
@@ -64,7 +64,7 @@ function c57734012.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function c57734012.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c57734012
.
filter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c57734012
.
filter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc1
=
g1
:
GetFirst
()
local
tc1
=
g1
:
GetFirst
()
if
tc1
and
Duel
.
SpecialSummon
(
tc1
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
tc1
and
not
tc1
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
Duel
.
SpecialSummon
(
tc1
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
m
=
_G
[
"c"
..
tc1
:
GetCode
()]
local
m
=
_G
[
"c"
..
tc1
:
GetCode
()]
if
not
m
then
return
end
if
not
m
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c67273917.lua
View file @
365e0478
...
@@ -24,7 +24,6 @@ function c67273917.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,7 +24,6 @@ function c67273917.thcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c67273917
.
filter
(
c
)
function
c67273917
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c67273917
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67273917
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -44,7 +43,7 @@ function c67273917.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +43,7 @@ function c67273917.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
~=
2
then
return
end
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
~=
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c67273917
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c67273917
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
...
...
script/c71921856.lua
View file @
365e0478
...
@@ -33,7 +33,7 @@ function c71921856.initial_effect(c)
...
@@ -33,7 +33,7 @@ function c71921856.initial_effect(c)
end
end
c71921856
.
xyz_number
=
79
c71921856
.
xyz_number
=
79
function
c71921856
.
filter
(
c
)
function
c71921856
.
filter
(
c
)
return
c
:
IsSetCard
(
0x84
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
return
c
:
IsSetCard
(
0x84
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c71921856
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c71921856
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c71921856
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c71921856
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
@@ -43,7 +43,7 @@ function c71921856.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c71921856.operation(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c71921856
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c71921856
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
Duel
.
Overlay
(
c
,
g
)
Duel
.
Overlay
(
c
,
g
)
end
end
end
end
...
...
script/c93662626.lua
View file @
365e0478
...
@@ -24,7 +24,6 @@ function c93662626.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,7 +24,6 @@ function c93662626.thcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c93662626
.
filter
(
c
)
function
c93662626
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
end
function
c93662626
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c93662626
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -44,7 +43,7 @@ function c93662626.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +43,7 @@ function c93662626.thop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
~=
2
then
return
end
if
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
~=
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c93662626
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c93662626
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
and
not
g
:
GetFirst
():
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
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