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
020b6c18
Commit
020b6c18
authored
Sep 11, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
3590494c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
expansions/script/c12000055.lua
expansions/script/c12000055.lua
+0
-1
expansions/script/c2170702.lua
expansions/script/c2170702.lua
+2
-2
expansions/script/c2170707.lua
expansions/script/c2170707.lua
+11
-3
expansions/script/c2170708.lua
expansions/script/c2170708.lua
+1
-1
No files found.
expansions/script/c12000055.lua
View file @
020b6c18
...
...
@@ -11,7 +11,6 @@ function c12000055.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_HANDES
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCost
(
c12000055
.
spcost
)
e2
:
SetTarget
(
c12000055
.
sptg
)
e2
:
SetOperation
(
c12000055
.
spop
)
...
...
expansions/script/c2170702.lua
View file @
020b6c18
...
...
@@ -33,9 +33,9 @@ function c2170702.spfilter(c)
end
function
c2170702
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c2170702
.
spfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c2170702
.
spfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c2170702
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
function
c2170702
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c2170707.lua
View file @
020b6c18
...
...
@@ -8,10 +8,15 @@ function c2170707.initial_effect(c)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
+
TIMING_EQUIP
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
2170707
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCost
(
c2170707
.
cost
)
e1
:
SetTarget
(
c2170707
.
target
)
e1
:
SetOperation
(
c2170707
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c2170707
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
2000
)
end
Duel
.
PayLPCost
(
tp
,
2000
)
end
function
c2170707
.
filter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
end
...
...
@@ -20,16 +25,19 @@ function c2170707.cffilter(c)
end
function
c2170707
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c2170707
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c2170707
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c2170707
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c2170707
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
local
rt
=
Duel
.
GetTargetCount
(
c2170707
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
rt
=
Duel
.
GetTargetCount
(
c2170707
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
cg
=
Duel
.
SelectMatchingCard
(
tp
,
c2170707
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
99
,
e
:
GetHandler
())
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c2170707
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0
,
cg
:
GetCount
(),
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c2170707
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
0
,
cg
:
GetCount
(),
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
ShuffleHand
(
tp
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
function
c2170707
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
expansions/script/c2170708.lua
View file @
020b6c18
...
...
@@ -14,7 +14,7 @@ function c2170708.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c2170708
.
sdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x211
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x211
)
and
c
:
IsType
(
TYPE_SPELL
)
end
function
c2170708
.
sdcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c2170708
.
sdfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
2
,
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