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
cf5d318a
Commit
cf5d318a
authored
Mar 15, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
c069f177
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
12 deletions
+15
-12
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16107114.lua
expansions/script/c16107114.lua
+5
-3
expansions/script/c64800050.lua
expansions/script/c64800050.lua
+1
-1
expansions/script/c64800055.lua
expansions/script/c64800055.lua
+7
-6
expansions/script/c64800062.lua
expansions/script/c64800062.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
cf5d318a
No preview for this file type
expansions/script/c16107114.lua
View file @
cf5d318a
...
...
@@ -37,13 +37,15 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
return
Duel
.
GetMatchingGroupCount
(
cm
.
gravefilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
c
:
CreateEffectRelation
(
e
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
gravefilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
else
return
true
end
end
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
c
:
CreateEffectRelation
(
e
)
end
end
function
cm
.
gravefilter
(
c
)
return
(
c
:
IsRankAbove
(
10
)
or
c
:
IsLevelAbove
(
10
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
...
...
expansions/script/c64800050.lua
View file @
cf5d318a
...
...
@@ -58,7 +58,7 @@ function cm.spop1(e,tp,eg,ep,ev,re,r,rp)
end
-------------
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
and
(
re
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
or
re
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
)
return
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
and
(
re
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
or
re
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
))
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
cm
.
spfilter
(
c
)
return
c
.
setname
==
"Devildiocese"
and
(
c
:
IsType
(
TYPE_SYNCHRO
)
or
c
:
IsType
(
TYPE_FUSION
))
...
...
expansions/script/c64800055.lua
View file @
cf5d318a
...
...
@@ -18,13 +18,17 @@ function cm.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCondition
(
cm
.
regcon
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCondition
(
cm
.
spcon1
)
e2
:
SetCountLimit
(
1
,
m
+
10000
)
e2
:
SetTarget
(
cm
.
tg
)
e2
:
SetOperation
(
cm
.
regop
)
c
:
RegisterEffect
(
e2
)
end
cm
.
setname
=
"Devildiocese"
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
xyzfilter
(
c
)
return
c
.
setname
==
"Devildiocese"
end
...
...
@@ -85,18 +89,15 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
fop
=
ce
:
GetOperation
()
fop
(
ce
,
e
,
tp
,
tc
,
mat2
)
end
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
------------
function
cm
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
filter
(
c
)
return
c
:
IsRace
(
RACE_FIEND
)
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_DECK
+
LOCATION_REMOVED
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
tp
)
end
end
function
cm
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c64800062.lua
View file @
cf5d318a
...
...
@@ -111,13 +111,13 @@ function cm.thfil(c,ec)
return
c
.
setname
==
"Devildiocese"
and
(
c
:
IsAbleToGrave
()
or
c
:
IsAbleToHand
())
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfil
ter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfil
ter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
<=
0
then
return
end
local
tc
=
g
:
GetFirst
()
if
tc
:
IsAbleToHand
()
and
(
not
tc
:
IsAbleToGrave
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1191
)
==
0
)
then
...
...
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