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
a350eaa3
Commit
a350eaa3
authored
Nov 02, 2021
by
gg123gg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c12070002.lua
parent
20c0305a
Pipeline
#6634
passed with stages
in 33 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
expansions/script/c12070002.lua
expansions/script/c12070002.lua
+15
-14
No files found.
expansions/script/c12070002.lua
View file @
a350eaa3
...
...
@@ -30,22 +30,23 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
return
mg
:
GetCount
()
>=
19
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
nil
)
return
mg
:
GetCount
()
>
19
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
mg
:
Select
(
tp
,
20
,
20
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
2000
)
c
:
RegisterEffect
(
e1
,
true
)
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeckOrExtraAsCost
,
tp
,
LOCATION_REMOVED
,
LOCATION_REMOVED
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
mg
:
Select
(
tp
,
20
,
20
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_COST
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetValue
(
2000
)
c
:
RegisterEffect
(
e1
,
true
)
end
function
cm
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0x9fae
)
and
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsCode
(
12070022
)
)
and
c
:
IsAbleToHand
()
...
...
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