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
3edfa09c
Commit
3edfa09c
authored
Nov 01, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
bdc5c83f
Pipeline
#6615
passed with stages
in 34 minutes and 56 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c12899001.lua
expansions/script/c12899001.lua
+1
-0
expansions/script/c12899005.lua
expansions/script/c12899005.lua
+1
-1
expansions/script/c12899008.lua
expansions/script/c12899008.lua
+1
-1
expansions/script/c12899009.lua
expansions/script/c12899009.lua
+1
-1
expansions/script/c16110014.lua
expansions/script/c16110014.lua
+1
-1
expansions/script/c16110025.lua
expansions/script/c16110025.lua
+0
-1
No files found.
expansions/script/c12899001.lua
View file @
3edfa09c
...
...
@@ -27,6 +27,7 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCondition
(
cm
.
condition
)
e2
:
SetCost
(
cm
.
cost
)
e2
:
SetTarget
(
cm
.
target
)
...
...
expansions/script/c12899005.lua
View file @
3edfa09c
...
...
@@ -64,7 +64,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
>
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
BreakEffect
()
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_HAND
,
0
,
nil
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
tc2
=
g2
:
GetFirst
()
...
...
expansions/script/c12899008.lua
View file @
3edfa09c
...
...
@@ -72,7 +72,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
atk
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
~=
0
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_HAND
,
0
,
nil
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
...
...
expansions/script/c12899009.lua
View file @
3edfa09c
...
...
@@ -68,7 +68,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter0
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
if
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_HAND
,
0
,
nil
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
end
end
...
...
expansions/script/c16110014.lua
View file @
3edfa09c
...
...
@@ -44,7 +44,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
if
g2
:
GetCount
()
>
0
and
ct2
>
0
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
3
))
then
local
g4
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_GRAVE
,
ct2
,
ct2
,
nil
)
local
g4
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
Card
.
IsAbleToHand
,
1
-
tp
,
0
,
LOCATION_GRAVE
,
ct2
,
ct2
,
nil
)
if
#
g4
>=
ct2
then
Duel
.
SendtoHand
(
g4
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
tp
,
g
)
...
...
expansions/script/c16110025.lua
View file @
3edfa09c
...
...
@@ -25,7 +25,6 @@ function cm.cfilter(c)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandlerPlayer
()
local
loc
=
re
:
GetActivateLocation
()
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
loc
==
LOCATION_MZONE
and
re
:
IsActiveType
(
TYPE_MONSTER
)
...
...
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