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
10b6a28b
Commit
10b6a28b
authored
Nov 10, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
c2506a4c
Pipeline
#6724
failed with stages
in 11 minutes and 44 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/script/c65001018.lua
expansions/script/c65001018.lua
+2
-2
expansions/script/c65020011.lua
expansions/script/c65020011.lua
+1
-1
expansions/script/c65020017.lua
expansions/script/c65020017.lua
+1
-1
expansions/script/c65020020.lua
expansions/script/c65020020.lua
+2
-2
expansions/script/c65020021.lua
expansions/script/c65020021.lua
+1
-1
expansions/script/c65020024.lua
expansions/script/c65020024.lua
+0
-2
expansions/script/c9310052.lua
expansions/script/c9310052.lua
+2
-0
No files found.
expansions/script/c65001018.lua
View file @
10b6a28b
...
@@ -40,8 +40,8 @@ function c65001018.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,8 +40,8 @@ function c65001018.op(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
e
:
GetHandler
():
IsRel
easable
(
e
)
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
e
:
GetHandler
():
IsRel
ateToEffect
(
e
)
then
if
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
and
Duel
.
IsExistingMatchingCard
(
c65001018
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65001018
,
0
))
then
if
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
c65001018
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65001018
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65001018
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65001018
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
...
...
expansions/script/c65020011.lua
View file @
10b6a28b
...
@@ -39,7 +39,7 @@ function c65020011.opfil(c,tp)
...
@@ -39,7 +39,7 @@ function c65020011.opfil(c,tp)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
not
c
:
IsType
(
TYPE_TUNER
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
not
c
:
IsType
(
TYPE_TUNER
)
end
end
function
c65020011
.
synfil
(
c
,
sc
)
function
c65020011
.
synfil
(
c
,
sc
)
return
c
:
IsSynchroSummonable
(
sc
)
and
c
:
IsSetCard
(
0x
3
da5
)
return
c
:
IsSynchroSummonable
(
sc
)
and
c
:
IsSetCard
(
0xda5
)
end
end
function
c65020011
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65020011
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
expansions/script/c65020017.lua
View file @
10b6a28b
...
@@ -44,7 +44,7 @@ function c65020017.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c65020017.tgop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsType
(
TYPE_MONSTER
)
then
typ
=
TYPE_MONSTER
end
if
tc
:
IsType
(
TYPE_MONSTER
)
then
typ
=
TYPE_MONSTER
end
if
tc
:
IsType
(
TYPE_SPELL
)
then
typ
=
TYPE_SPELL
end
if
tc
:
IsType
(
TYPE_SPELL
)
then
typ
=
TYPE_SPELL
end
if
tc
:
IsType
(
TYPE_TRAP
)
then
typ
=
TYPE_TRAP
end
if
tc
:
IsType
(
TYPE_TRAP
)
then
typ
=
TYPE_TRAP
end
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
c65020017
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
typ
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
tp
,
65020017
,
2
))
then
if
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
c65020017
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
typ
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65020017
,
2
))
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65020017
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
typ
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65020017
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
typ
)
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
expansions/script/c65020020.lua
View file @
10b6a28b
...
@@ -45,7 +45,7 @@ function c65020020.stfil(c)
...
@@ -45,7 +45,7 @@ function c65020020.stfil(c)
end
end
function
c65020020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65020020
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
op
=
e
:
GetLabel
()
local
op
=
e
:
GetLabel
()
local
g1
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g1
)
Duel
.
HintSelection
(
g1
)
if
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
~=
0
then
...
@@ -60,7 +60,7 @@ function c65020020.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -60,7 +60,7 @@ function c65020020.spop(e,tp,eg,ep,ev,re,r,rp)
if
gc
then
if
gc
then
gc
:
AddCounter
(
0x1da1
,
1
)
gc
:
AddCounter
(
0x1da1
,
1
)
end
end
elseif
op
==
1
and
Duel
.
GetMatchingGroupCount
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65020020
,
0
))
then
elseif
op
==
1
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65020020
,
0
))
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
3
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
3
,
nil
)
if
g2
:
GetCount
()
>
0
then
if
g2
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g2
)
Duel
.
HintSelection
(
g2
)
...
...
expansions/script/c65020021.lua
View file @
10b6a28b
...
@@ -41,7 +41,7 @@ function c65020021.stfil(c)
...
@@ -41,7 +41,7 @@ function c65020021.stfil(c)
end
end
function
c65020021
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65020021
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
op
=
e
:
GetLabel
()
local
op
=
e
:
GetLabel
()
local
g1
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
if
g1
:
GetCount
()
>
0
then
if
g1
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g1
)
Duel
.
HintSelection
(
g1
)
if
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Remove
(
g1
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
...
...
expansions/script/c65020024.lua
View file @
10b6a28b
...
@@ -76,8 +76,6 @@ function c65020024.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,8 +76,6 @@ function c65020024.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65020024
,
0
))
tc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
65020024
,
0
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
())
Duel
.
HintSelection
(
g
)
local
gc
=
Duel
.
GetFirstMatchingCard
(
c65020024
.
countfil
,
tp
,
LOCATION_FZONE
,
0
,
nil
)
local
gc
=
Duel
.
GetFirstMatchingCard
(
c65020024
.
countfil
,
tp
,
LOCATION_FZONE
,
0
,
nil
)
if
gc
then
if
gc
then
gc
:
AddCounter
(
0x1da1
,
1
)
gc
:
AddCounter
(
0x1da1
,
1
)
...
...
expansions/script/c9310052.lua
View file @
10b6a28b
...
@@ -138,6 +138,8 @@ function c9310052.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -138,6 +138,8 @@ function c9310052.rmop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
4
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
if
c
:
IsLevel
(
4
)
then
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
end
end
end
end
end
\ No newline at end of file
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