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
a3a5f3ab
Commit
a3a5f3ab
authored
Aug 14, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e1d05595
Pipeline
#539
passed with stages
in 41 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
expansions/script/c18007016.lua
expansions/script/c18007016.lua
+2
-9
No files found.
expansions/script/c18007016.lua
View file @
a3a5f3ab
...
...
@@ -3,7 +3,7 @@ if not pcall(function() require("expansions/script/c18007001") end) then require
local
m
=
18007016
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,{
m
,
0
},
nil
,
"dr"
,
"ptg"
,
nil
,
rscost
.
cost
(
cm
.
cfilter
,
cm
.
fun
,
LOCATION_HAND
+
LOCATION_MZONE
),
cm
.
drtg
,
cm
.
drop
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,{
m
,
0
},
nil
,
"dr"
,
"ptg"
,
nil
,
rscost
.
cost
(
cm
.
cfilter
,
"td"
,
LOCATION_MZONE
+
LOCATION_HAND
),
cm
.
drtg
,
cm
.
drop
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},
nil
,
"sp"
,
nil
,
LOCATION_GRAVE
,
cm
.
spcon
,
aux
.
bfgcost
,
rstg
.
target
(
rsop
.
list
(
cm
.
spfilter
,
"sp"
,
LOCATION_DECK
)),
cm
.
spop
)
end
cm
.
rssetcode
=
"PhantomQuantum"
...
...
@@ -20,15 +20,8 @@ function cm.spop(e,tp)
rssf
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
nil
,
rssf
.
SummonBuff
(
nil
,
nil
,
nil
,
nil
,
"td"
))
end
end
function
cm
.
fun
(
g
,
e
,
tp
)
local
hg
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
if
#
hg
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
end
function
cm
.
cfilter
(
c
)
return
c
:
CheckSetCard
(
"PhantomQuantum"
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckAsCost
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckAsCost
()
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
end
...
...
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