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
ecd9edcc
Commit
ecd9edcc
authored
Mar 05, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
f3b683dd
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
77 additions
and
23 deletions
+77
-23
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12033006.lua
expansions/script/c12033006.lua
+1
-1
expansions/script/c16104421.lua
expansions/script/c16104421.lua
+6
-1
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+70
-21
No files found.
expansions/222DIY.cdb
View file @
ecd9edcc
No preview for this file type
expansions/script/c12033006.lua
View file @
ecd9edcc
...
@@ -22,7 +22,7 @@ function c12033006.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c12033006.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
c12033006
.
spfilter
(
c
,
sp
)
function
c12033006
.
spfilter
(
c
,
sp
)
return
c
:
GetSummonPlayer
()
==
sp
return
c
:
GetSummonPlayer
()
==
sp
and
c
:
IsType
(
TYPE_LINK
)
end
end
function
c12033006
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12033006
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c12033006
.
spfilter
,
1
,
nil
,
1
-
tp
)
return
eg
:
IsExists
(
c12033006
.
spfilter
,
1
,
nil
,
1
-
tp
)
...
...
expansions/script/c16104421.lua
View file @
ecd9edcc
...
@@ -65,7 +65,12 @@ function cm.poperation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,12 @@ function cm.poperation(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsCanOverlay
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsCanOverlay
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
then
Duel
.
Overlay
(
c
,
tc
)
local
g
=
Group
.
FromCards
(
tc
)
local
mg
=
tc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
c
,
mg
)
end
Duel
.
Overlay
(
c
,
g
)
Duel
.
SpecialSummon
(
c
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
c
:
CompleteProcedure
()
c
:
CompleteProcedure
()
end
end
...
...
expansions/script/c16199990.lua
View file @
ecd9edcc
...
@@ -44,7 +44,7 @@ local cate_table_for_reikai={
...
@@ -44,7 +44,7 @@ local cate_table_for_reikai={
[
'ct'
]
=
CATEGORY_COUNTER
,
[
'ct'
]
=
CATEGORY_COUNTER
,
[
'des'
]
=
CATEGORY_DESTROY
,
[
'des'
]
=
CATEGORY_DESTROY
,
}
}
function
rk
.
set
(
code
,
setcode
)
function
rk
.
set
(
code
,
setcode
,
rkflag
)
if
not
_G
[
"c"
..
code
]
then
_G
[
"c"
..
code
]
=
{}
if
not
_G
[
"c"
..
code
]
then
_G
[
"c"
..
code
]
=
{}
setmetatable
(
_G
[
"c"
..
code
],
Card
)
setmetatable
(
_G
[
"c"
..
code
],
Card
)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
...
@@ -53,8 +53,57 @@ function rk.set(code,setcode)
...
@@ -53,8 +53,57 @@ function rk.set(code,setcode)
if
setcode
and
not
ccodem
.
rksetcode
then
if
setcode
and
not
ccodem
.
rksetcode
then
ccodem
.
rksetcode
=
setcode
ccodem
.
rksetcode
=
setcode
end
end
if
rkflag
==
1
then
ccodem
.
rkcheck
=
true
end
if
not
rk
.
Dalogcheck
then
rk
.
Dalogcheck
=
true
local
e1
=
Effect
.
GlobalEffect
()
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCondition
(
rk
.
Dalogactcon
)
e1
:
SetOperation
(
rk
.
Dalogactop
)
Duel
.
RegisterEffect
(
e1
,
0
)
local
e2
=
Effect
.
GlobalEffect
()
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCondition
(
rk
.
Dalogscon
)
e2
:
SetOperation
(
rk
.
Dalogsop
)
Duel
.
RegisterEffect
(
e2
,
0
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
e3
,
0
)
end
return
code
,
ccodem
return
code
,
ccodem
end
end
function
rk
.
rkcardcheck
(
c
)
return
c
.
rkcheck
==
true
end
function
rk
.
Dalogactcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
().
rkcheck
==
true
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
rk
.
Dalogactop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
og
=
eg
:
Filter
(
rk
.
rkcardcheck
,
nil
)
for
tc
in
aux
.
Next
(
og
)
do
local
codefordal
=
tc
:
GetOriginalCode
()
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
9
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
10
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
11
))
end
end
function
rk
.
Dalogscon
(
e
,
tp
,
eg
)
return
eg
:
IsExists
(
rk
.
rkcardcheck
,
1
,
nil
)
end
function
rk
.
Dalogsop
(
e
,
tp
,
eg
)
local
og
=
eg
:
Filter
(
rk
.
rkcardcheck
,
nil
)
for
tc
in
aux
.
Next
(
og
)
do
local
codefordal
=
tc
:
GetOriginalCode
()
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
12
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
13
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
14
))
end
end
function
rk
.
check
(
c
,
str
)
function
rk
.
check
(
c
,
str
)
local
code1
,
code2
=
c
:
GetCode
()
local
code1
,
code2
=
c
:
GetCode
()
local
subtr
=
nil
local
subtr
=
nil
...
...
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