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
fe039100
Commit
fe039100
authored
Sep 25, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mopemope
parent
e0430abb
Pipeline
#809
passed with stages
in 45 minutes and 42 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
8 deletions
+24
-8
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16104606.lua
expansions/script/c16104606.lua
+2
-0
expansions/script/c16104608.lua
expansions/script/c16104608.lua
+2
-0
expansions/script/c16104610.lua
expansions/script/c16104610.lua
+3
-2
expansions/script/c16104612.lua
expansions/script/c16104612.lua
+2
-1
expansions/script/c16104622.lua
expansions/script/c16104622.lua
+4
-5
expansions/script/c16104624.lua
expansions/script/c16104624.lua
+11
-0
No files found.
expansions/222DIY.cdb
View file @
fe039100
No preview for this file type
expansions/script/c16104606.lua
View file @
fe039100
...
...
@@ -42,6 +42,8 @@ function cm.flipop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
local
ttc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
gs
.
Cntact
(
ttc
)
if
Duel
.
GetMatchingGroupCount
(
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
<=
0
then
return
end
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c16104608.lua
View file @
fe039100
...
...
@@ -73,6 +73,8 @@ function cm.flipop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
0
then
local
ttc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
gs
.
Cntact
(
ttc
)
local
dg
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
LOCATION_DECK
)
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
8
))
then
Duel
.
ConfirmCards
(
tp
,
dg
)
...
...
expansions/script/c16104610.lua
View file @
fe039100
...
...
@@ -35,7 +35,8 @@ function cm.flipop(e,tp)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
#
sg
>
0
then
if
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
~=
0
then
gs
.
Cntact
(
sg
:
GetFirst
())
local
ttc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
gs
.
Cntact
(
ttc
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
changefilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
5
))
then
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
changefilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
()):
GetFirst
()
if
not
sc
:
IsImmuneToEffect
(
e
)
then
...
...
@@ -54,5 +55,5 @@ function cm.flipop(e,tp)
end
end
end
end
end
end
\ No newline at end of file
expansions/script/c16104612.lua
View file @
fe039100
...
...
@@ -42,7 +42,8 @@ function cm.flipop(e,tp)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
)
if
#
sg
>
0
then
if
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
gs
.
Cntact
(
sg
:
GetFirst
())
local
ttc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
gs
.
Cntact
(
ttc
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
changefilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
5
))
then
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
changefilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
()):
GetFirst
()
if
not
sc
:
IsImmuneToEffect
(
e
)
then
...
...
expansions/script/c16104622.lua
View file @
fe039100
...
...
@@ -26,14 +26,14 @@ function cm.initial_effect(c)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e3
:
SetCountLimit
(
1
)
e
1
:
SetCondition
(
cm
.
sumaddcon
)
e
3
:
SetCondition
(
cm
.
sumaddcon
)
e3
:
SetOperation
(
cm
.
sumaddop
)
c
:
RegisterEffect
(
e3
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
3
))
e4
:
SetCategory
(
CATEGORY_POSITION
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_
O
)
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_
F
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetRange
(
LOCATION_FZONE
)
e4
:
SetCountLimit
(
1
,
m
)
...
...
@@ -100,10 +100,9 @@ function cm.econ(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
e
:
GetHandler
():
GetControler
()
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
cm
.
thfilter
(
c
,
g
)
local
sg
=
Group
.
CreateGroup
()
local
sg
=
g
sg
:
AddCard
(
c
)
local
gg
=
Group
.
__sub
(
g
,
sg
)
return
gg
:
GetClassCount
(
Card
.
GetRace
)
==
gg
:
GetCount
()
and
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0xcca
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
sg
:
GetClassCount
(
Card
.
GetRace
)
>=
g
:
GetClassCount
(
Card
.
GetRace
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xcca
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
...
...
expansions/script/c16104624.lua
View file @
fe039100
...
...
@@ -42,6 +42,17 @@ function cm.initial_effect(c)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e6
)
--
local
e02
=
Effect
.
CreateEffect
(
c
)
e02
:
SetType
(
EFFECT_TYPE_SINGLE
)
e02
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e02
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e02
:
SetCondition
(
cm
.
recon
)
e02
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e02
)
end
function
cm
.
recon
(
e
)
return
e
:
GetHandler
():
IsFaceup
()
end
function
cm
.
eqfilter
(
c
)
return
c
:
IsFacedown
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
(
c
:
IsControler
(
tp
)
or
c
:
IsAbleToChangeControler
())
...
...
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