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
Soulgamer
ygopro-222DIY-cards
Commits
f3b683dd
Commit
f3b683dd
authored
Mar 05, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
917e606d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c20000060.lua
expansions/script/c20000060.lua
+1
-1
expansions/script/c30553302.lua
expansions/script/c30553302.lua
+2
-2
expansions/script/c67200038.lua
expansions/script/c67200038.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
f3b683dd
No preview for this file type
expansions/script/c20000060.lua
View file @
f3b683dd
...
...
@@ -5,7 +5,7 @@ function c20000060.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c20000060
.
tgf1
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c20000060
.
tgf1
,
tp
,
0
,
LOCATION_DECK
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
)
...
...
expansions/script/c30553302.lua
View file @
f3b683dd
...
...
@@ -88,11 +88,11 @@ function cm.tgf2(c)
return
c
:
IsSetCard
(
0x308
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
function
cm
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgf2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
function
cm
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgf2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
end
...
...
expansions/script/c67200038.lua
View file @
f3b683dd
...
...
@@ -37,12 +37,12 @@ end
function
c67200038
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
mg
=
e
:
GetHandler
():
GetMaterial
()
if
mg
:
GetCount
()
<
1
then
return
false
end
local
gh
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
chkc
then
return
mg
:
IsContains
(
chkc
)
and
c67200038
.
atkfilter
(
chkc
,
e
)
end
if
chk
==
0
then
return
mg
:
IsExists
(
c67200038
.
atkfilter
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
mg
:
IsExists
(
c67200038
.
atkfilter
,
1
,
nil
,
e
)
and
gh
:
GetCount
()
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
mg
:
FilterSelect
(
tp
,
c67200038
.
atkfilter
,
1
,
1
,
nil
,
e
)
Duel
.
SetTargetCard
(
g
)
local
gh
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
gh
,
1
,
0
,
0
)
Duel
.
SetChainLimit
(
c67200038
.
chainlm
)
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