Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
List
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
8881fdf3
Commit
8881fdf3
authored
Aug 26, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wadashimo
parent
5ffef6f4
Pipeline
#634
passed with stages
in 42 minutes and 24 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
8 deletions
+18
-8
expansions/script/c10909007.lua
expansions/script/c10909007.lua
+1
-0
expansions/script/c12009044.lua
expansions/script/c12009044.lua
+1
-1
expansions/script/c12009046.lua
expansions/script/c12009046.lua
+16
-4
expansions/script/c12009057.lua
expansions/script/c12009057.lua
+0
-3
No files found.
expansions/script/c10909007.lua
View file @
8881fdf3
...
...
@@ -79,6 +79,7 @@ function c10909007.spop(e,tp,eg,ep,ev,re,r,rp)
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
c
:
IsRelateToEffect
(
e
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
then
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonComplete
()
end
end
function
c10909007
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c12009044.lua
View file @
8881fdf3
...
...
@@ -106,11 +106,11 @@ function c12009044.setop(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
if
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
else
Duel
.
DisableShuffleCheck
()
Duel
.
SSet
(
tp
,
tc
)
end
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
Duel
.
ShuffleDeck
(
p
)
Duel
.
SortDecktop
(
tp
,
tp
,
4
)
end
end
\ No newline at end of file
expansions/script/c12009046.lua
View file @
8881fdf3
...
...
@@ -143,11 +143,23 @@ function c12009046.LinkCondition(f,minc,maxc,gf)
if
sg
:
IsExists
(
aux
.
MustMaterialCounterFilter
,
1
,
nil
,
mg
)
then
return
false
end
local
ct
=
sg
:
GetCount
()
if
ct
>
maxc
then
return
false
end
return
aux
.
LCheckGoal
(
tp
,
sg
,
c
,
minc
,
ct
,
gf
)
or
mg
:
IsExists
(
aux
.
LCheckRecursive
,
1
,
sg
,
tp
,
sg
,
mg
,
c
,
ct
,
minc
,
maxc
,
gf
)
return
c12009046
.
LCheckGoal
(
tp
,
sg
,
c
,
minc
,
ct
,
gf
)
or
mg
:
IsExists
(
c12009046
.
LCheckRecursive
,
1
,
sg
,
tp
,
sg
,
mg
,
c
,
ct
,
minc
,
maxc
,
gf
)
end
end
--
function
c12009046
.
LCheckGoal
(
tp
,
sg
,
lc
,
minc
,
ct
,
gf
)
return
ct
>=
minc
and
sg
:
CheckWithSumEqual
(
aux
.
GetLinkCount
,
lc
:
GetLink
(),
ct
,
ct
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
lc
)
>
0
and
(
not
gf
or
gf
(
sg
))
end
function
c12009046
.
LCheckRecursive
(
c
,
tp
,
sg
,
mg
,
lc
,
ct
,
minc
,
maxc
,
gf
)
sg
:
AddCard
(
c
)
ct
=
ct
+
1
local
res
=
c12009046
.
LCheckGoal
(
tp
,
sg
,
lc
,
minc
,
ct
,
gf
)
or
(
ct
<
maxc
and
mg
:
IsExists
(
c12009046
.
LCheckRecursive
,
1
,
sg
,
tp
,
sg
,
mg
,
lc
,
ct
,
minc
,
maxc
,
gf
))
sg
:
RemoveCard
(
c
)
ct
=
ct
-
1
return
res
end
function
c12009046
.
LinkTarget
(
f
,
minc
,
maxc
,
gf
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
...
...
@@ -161,8 +173,8 @@ function c12009046.LinkTarget(f,minc,maxc,gf)
sg
:
Merge
(
bg
)
local
finish
=
false
while
#
sg
<
maxc
do
finish
=
aux
.
LCheckGoal
(
tp
,
sg
,
c
,
minc
,
#
sg
,
gf
)
local
cg
=
mg
:
Filter
(
aux
.
LCheckRecursive
,
sg
,
tp
,
sg
,
mg
,
c
,
#
sg
,
minc
,
maxc
,
gf
)
finish
=
c12009046
.
LCheckGoal
(
tp
,
sg
,
c
,
minc
,
#
sg
,
gf
)
local
cg
=
mg
:
Filter
(
c12009046
.
LCheckRecursive
,
sg
,
tp
,
sg
,
mg
,
c
,
#
sg
,
minc
,
maxc
,
gf
)
if
#
cg
==
0
then
break
end
local
cancel
=
not
finish
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_LMATERIAL
)
...
...
expansions/script/c12009057.lua
View file @
8881fdf3
...
...
@@ -32,9 +32,6 @@ end
function
c12009057
.
lcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetLinkRace
)
==
1
end
function
c12009057
.
lcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetLinkAttribute
)
==
g
:
GetCount
()
end
function
c12009057
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
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