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
Ai
ygopro-222DIY-cards
Commits
d8e3a4a1
Commit
d8e3a4a1
authored
Feb 16, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6718d74a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
13 deletions
+14
-13
expansions/script/c14060012.lua
expansions/script/c14060012.lua
+2
-1
expansions/script/c14060013.lua
expansions/script/c14060013.lua
+11
-11
expansions/script/c14060018.lua
expansions/script/c14060018.lua
+1
-1
No files found.
expansions/script/c14060012.lua
View file @
d8e3a4a1
...
...
@@ -97,7 +97,8 @@ function cm.tdcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsFaceup
()
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
LOCATION_REMOVED
+
LOCATION_GRAVE
)
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
PLAYER_ALL
,
LOCATION_REMOVED
+
LOCATION_GRAVE
)
end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c14060013.lua
View file @
d8e3a4a1
...
...
@@ -76,18 +76,18 @@ function cm.cfilter(c,tp)
return
((
c
:
IsFusionSetCard
(
0x1406
)
or
c
:
IsFacedown
()
or
(
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)))
and
c
:
IsType
(
TYPE_MONSTER
))
and
c
:
IsCanBeFusionMaterial
()
end
function
cm
.
fcheck
(
c
,
sg
)
return
c
:
IsFusionSetCard
(
0x1406
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
sg
:
FilterCount
(
cm
.
fcheck2
,
c
)
+
1
==
sg
:
GetCount
()
function
cm
.
fcheck
(
c
,
sg
,
tp
)
return
c
:
IsFusionSetCard
(
0x1406
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
and
sg
:
FilterCount
(
cm
.
fcheck2
,
c
)
+
1
==
sg
:
GetCount
()
end
function
cm
.
fcheck2
(
c
)
return
(
c
:
IsFacedown
()
or
(
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)))
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsFacedown
()
or
(
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
)
end
function
cm
.
fgoal
(
c
,
tp
,
sg
)
return
sg
:
GetCount
()
>
1
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
)
>
0
and
sg
:
IsExists
(
cm
.
fcheck
,
1
,
nil
,
sg
)
function
cm
.
fgoal
(
c
,
tp
,
sg
,
fc
)
return
sg
:
GetCount
()
>
1
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
,
fc
)
>
0
and
sg
:
IsExists
(
cm
.
fcheck
,
1
,
nil
,
sg
,
tp
)
end
function
cm
.
fselect
(
c
,
tp
,
mg
,
sg
)
function
cm
.
fselect
(
c
,
tp
,
mg
,
sg
,
fc
)
sg
:
AddCard
(
c
)
local
res
=
cm
.
fgoal
(
c
,
tp
,
sg
)
or
mg
:
IsExists
(
cm
.
fselect
,
1
,
sg
,
tp
,
mg
,
sg
)
local
res
=
cm
.
fgoal
(
c
,
tp
,
sg
,
fc
)
or
mg
:
IsExists
(
cm
.
fselect
,
1
,
sg
,
tp
,
mg
,
sg
,
fc
)
sg
:
RemoveCard
(
c
)
return
res
end
...
...
@@ -98,7 +98,7 @@ function cm.sprcon(e,c)
local
mg1
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
cm
.
cfilter
,
nil
,
c
)
mg
:
Merge
(
mg1
)
local
sg
=
Group
.
CreateGroup
()
return
mg
:
IsExists
(
cm
.
fselect
,
1
,
nil
,
tp
,
mg
,
sg
)
return
mg
:
IsExists
(
cm
.
fselect
,
1
,
nil
,
tp
,
mg
,
sg
,
c
)
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
cfilter
,
nil
,
c
)
...
...
@@ -106,14 +106,14 @@ function cm.sprop(e,tp,eg,ep,ev,re,r,rp,c)
mg
:
Merge
(
mg1
)
local
sg
=
Group
.
CreateGroup
()
while
true
do
local
cg
=
mg
:
Filter
(
cm
.
fselect
,
sg
,
tp
,
mg
,
sg
)
local
cg
=
mg
:
Filter
(
cm
.
fselect
,
sg
,
tp
,
mg
,
sg
,
c
)
if
cg
:
GetCount
()
==
0
or
(
cm
.
fgoal
(
c
,
tp
,
sg
)
and
not
Duel
.
SelectYesNo
(
tp
,
210
))
then
break
end
or
(
cm
.
fgoal
(
c
,
tp
,
sg
,
c
)
and
not
Duel
.
SelectYesNo
(
tp
,
210
))
then
break
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
cg
:
Select
(
tp
,
1
,
1
,
nil
)
sg
:
Merge
(
g
)
end
Duel
.
Release
(
sg
,
REASON_COST
+
REASON_FUSION
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
function
cm
.
atkfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x1406
)
and
c
:
IsFaceup
()
...
...
expansions/script/c14060018.lua
View file @
d8e3a4a1
...
...
@@ -22,7 +22,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x1406
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
(
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
or
not
c
:
IsLocation
(
LOCATION_EXTRA
))
return
c
:
IsSetCard
(
0x1406
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
(
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
or
not
c
:
IsLocation
(
LOCATION_EXTRA
))
end
function
cm
.
cfilter
(
c
,
e
,
tp
)
return
(
c
:
IsSetCard
(
0x1406
)
or
(
c
:
IsFacedown
()
and
c
:
IsLocation
(
LOCATION_MZONE
)))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
c
)
...
...
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