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
a55639a3
Commit
a55639a3
authored
Oct 08, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
0daf3075
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
expansions/script/c17060870.lua
expansions/script/c17060870.lua
+2
-2
expansions/script/c22240123.lua
expansions/script/c22240123.lua
+4
-1
expansions/script/c22240124.lua
expansions/script/c22240124.lua
+4
-3
No files found.
expansions/script/c17060870.lua
View file @
a55639a3
...
@@ -48,10 +48,10 @@ function c17060870.IsMillion_Arthur(c)
...
@@ -48,10 +48,10 @@ function c17060870.IsMillion_Arthur(c)
return
m
and
m
.
is_named_with_Million_Arthur
return
m
and
m
.
is_named_with_Million_Arthur
end
end
function
c17060870
.
linkfilter1
(
c
,
tp
)
function
c17060870
.
linkfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c17060870
.
linkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
Duel
.
IsExistingMatchingCard
(
c17060870
.
linkfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
c
)
end
end
function
c17060870
.
linkfilter2
(
c
,
lc
)
function
c17060870
.
linkfilter2
(
c
,
lc
)
return
c
:
IsFaceup
()
and
not
c
:
IsAttribute
(
lc
:
GetAttribute
())
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsAttribute
(
lc
:
GetAttribute
())
end
end
function
c17060870
.
linkcon
(
e
,
c
)
function
c17060870
.
linkcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
expansions/script/c22240123.lua
View file @
a55639a3
...
@@ -13,6 +13,7 @@ function c22240123.initial_effect(c)
...
@@ -13,6 +13,7 @@ function c22240123.initial_effect(c)
e1
:
SetOperation
(
c22240123
.
xyzop
)
e1
:
SetOperation
(
c22240123
.
xyzop
)
e1
:
SetValue
(
SUMMON_TYPE_XYZ
)
e1
:
SetValue
(
SUMMON_TYPE_XYZ
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
22240123
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
22240123
,
1
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -174,6 +175,8 @@ function c22240123.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -174,6 +175,8 @@ function c22240123.thop(e,tp,eg,ep,ev,re,r,rp)
if
xyzg
:
GetCount
()
>
0
then
if
xyzg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
xyz
=
xyzg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
xyz
=
xyzg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
XyzSummon
(
tp
,
xyz
,
g
)
Duel
.
SpecialSummon
(
xyz
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
Overlay
(
xyz
,
g
)
xyz
:
CompleteProcedure
()
end
end
end
end
\ No newline at end of file
expansions/script/c22240124.lua
View file @
a55639a3
...
@@ -17,8 +17,9 @@ function c22240124.initial_effect(c)
...
@@ -17,8 +17,9 @@ function c22240124.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
22240124
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
22240124
,
1
))
e1
:
SetCategory
(
CATEGORY_RELEASE
)
e1
:
SetCategory
(
CATEGORY_RELEASE
)
e1
:
SetType
(
EFFECT_TYPE_
IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_
QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c22240124
.
relcost
)
e1
:
SetCost
(
c22240124
.
relcost
)
...
@@ -85,11 +86,11 @@ end
...
@@ -85,11 +86,11 @@ end
function
c22240124
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22240124
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22240124
.
mafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c22240124
.
mafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
end
function
c22240124
.
xyzfilter
(
c
,
tp
)
function
c22240124
.
xyzfilter
1
(
c
,
tp
)
return
c22240124
.
IsSolid
(
c
)
and
c
:
IsType
(
TYPE_XYZ
)
return
c22240124
.
IsSolid
(
c
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
c22240124
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22240124
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c22240124
.
xyzfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
c22240124
.
xyzfilter
1
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
m
=
xyzg
:
GetCount
()
local
m
=
xyzg
:
GetCount
()
local
mag
=
Duel
.
SelectMatchingCard
(
tp
,
c22240124
.
mafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
m
,
nil
)
local
mag
=
Duel
.
SelectMatchingCard
(
tp
,
c22240124
.
mafilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
m
,
nil
)
while
mag
:
GetCount
()
>
0
and
xyzg
:
GetCount
()
>
0
do
while
mag
:
GetCount
()
>
0
and
xyzg
:
GetCount
()
>
0
do
...
...
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