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
c1082edb
Commit
c1082edb
authored
Feb 20, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
ad6a2523
Pipeline
#2458
passed with stages
in 40 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
expansions/script/c12014002.lua
expansions/script/c12014002.lua
+6
-6
No files found.
expansions/script/c12014002.lua
View file @
c1082edb
...
...
@@ -2,7 +2,7 @@
local
m
=
12014002
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
2
fb4
)
c
:
EnableCounterPermit
(
0x
1
fb4
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
...
@@ -59,7 +59,7 @@ function cm.drcon(e,tp,eg,ep,ev,re,r,rp)
and
rc
:
IsFaceup
()
and
rc
:
IsSetCard
(
0x5fa9
)
and
rc
:
IsControler
(
tp
)
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0x
2
fb4
,
1
)
e
:
GetHandler
():
AddCounter
(
0x
1
fb4
,
1
)
end
function
cm
.
drcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
...
...
@@ -70,8 +70,8 @@ function cm.spfilter(c,e,tp)
end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x
2
fb4
,
1
,
REASON_COST
)
end
c
:
RemoveCounter
(
tp
,
0x
2
fb4
,
1
,
REASON_COST
)
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x
1
fb4
,
1
,
REASON_COST
)
end
c
:
RemoveCounter
(
tp
,
0x
1
fb4
,
1
,
REASON_COST
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -87,8 +87,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x
2
fb4
,
7
,
REASON_COST
)
end
c
:
RemoveCounter
(
tp
,
0x
2
fb4
,
7
,
REASON_COST
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x
1
fb4
,
7
,
REASON_COST
)
end
c
:
RemoveCounter
(
tp
,
0x
1
fb4
,
7
,
REASON_COST
)
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_HAND
+
LOCATION_EXTRA
,
1
,
nil
)
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