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
Ai
ygopro-222DIY-cards
Commits
705995d0
Commit
705995d0
authored
May 04, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tnndx
parent
3cd98d4f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
688 additions
and
862 deletions
+688
-862
expansions/script/c10199990.lua
expansions/script/c10199990.lua
+684
-856
expansions/script/c65010004.lua
expansions/script/c65010004.lua
+4
-6
No files found.
expansions/script/c10199990.lua
View file @
705995d0
This diff is collapsed.
Click to expand it.
expansions/script/c65010004.lua
View file @
705995d0
...
...
@@ -5,16 +5,14 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
65010001
)
local
e1
=
rsef
.
ACT
(
c
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
m
},
nil
,
nil
,
LOCATION_SZONE
,
nil
,
rscost
.
cost
(
{
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
65010001
),
"res"
,
LOCATION_MZONE
}
),
nil
,
cm
.
op
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
m
},
nil
,
nil
,
LOCATION_SZONE
,
nil
,
rscost
.
cost
(
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
65010001
),
"res"
,
LOCATION_MZONE
),
nil
,
cm
.
op
)
local
f
=
function
(
rc
)
return
aux
.
IsCodeListed
(
rc
,
65010001
)
end
local
e3
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},{
1
,
m
+
100
},
"atk,dis"
,
"tg"
,
LOCATION_SZONE
,
nil
,
rscost
.
cost
(
{
f
,
"td"
,
LOCATION_GRAVE
}),
cm
.
tg2
,
cm
.
op2
)
local
e3
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},{
1
,
m
+
100
},
"atk,dis"
,
"tg"
,
LOCATION_SZONE
,
nil
,
rscost
.
cost
(
f
,
"td"
,
LOCATION_GRAVE
),
rstg
.
target2
(
cm
.
regfun
,
Card
.
IsFaceup
,
"atk"
,
LOCATION_MZONE
,
LOCATION_MZONE
)
,
cm
.
op2
)
end
function
cm
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
or
chkc
then
return
rstg
.
TargetCheck
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
,{
Card
.
IsFaceup
,
"atk"
,
LOCATION_MZONE
,
LOCATION_MZONE
})
end
rstg
.
TargetSelect
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,{
Card
.
IsFaceup
,
"atk"
,
LOCATION_MZONE
,
LOCATION_MZONE
})
if
rscon
.
excard
(
rscf
.
FilterFaceUp
(
Card
.
IsCode
,
65010001
))(
e
)
then
function
cm
.
regfun
(
g
,
e
,
tp
if
rscon
.
excard2
(
Card
.
IsCode
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65010001
)(
e
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
...
...
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