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
5a5201b9
Commit
5a5201b9
authored
Sep 29, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
8211c500
Pipeline
#832
passed with stages
in 45 minutes and 45 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
105 additions
and
105 deletions
+105
-105
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33310302.lua
expansions/script/c33310302.lua
+1
-1
expansions/script/c4212302.lua
expansions/script/c4212302.lua
+104
-104
No files found.
expansions/222DIY.cdb
View file @
5a5201b9
No preview for this file type
expansions/script/c33310302.lua
View file @
5a5201b9
...
@@ -78,7 +78,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,7 +78,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_SZONE
local
loc
=
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_SZONE
if
ft
==
0
then
loc
=
LOCATION_MZONE
end
if
ft
==
0
then
loc
=
LOCATION_MZONE
end
if
chk
==
0
then
return
ft
>-
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
spcfilter
,
tp
,
loc
,
0
,
1
,
nil
,
ft
)
end
if
chk
==
0
then
return
ft
>-
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
spcfilter
,
tp
,
loc
,
0
,
1
,
c
,
ft
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spcfilter
,
tp
,
loc
,
0
,
1
,
1
,
c
,
ft
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spcfilter
,
tp
,
loc
,
0
,
1
,
1
,
c
,
ft
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
...
...
expansions/script/c4212302.lua
View file @
5a5201b9
...
@@ -41,7 +41,7 @@ function c4212302.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,7 +41,7 @@ function c4212302.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
2
)
then
if
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
2
)
then
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
95
)
then
if
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
95
)
then
if
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
~=
0
if
Duel
.
DiscardDeck
(
tp
,
2
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
c4212301
.
tffilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c4212302
.
tffilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
527
)
then
and
Duel
.
SelectEffectYesNo
(
tp
,
e
:
GetHandler
(),
527
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
...
...
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