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
6fd61bf4
Commit
6fd61bf4
authored
Jun 13, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
60d0ba44
Pipeline
#13573
passed with stages
in 30 minutes and 56 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
25 deletions
+35
-25
expansions/script/c16114242.lua
expansions/script/c16114242.lua
+1
-2
expansions/script/c16114243.lua
expansions/script/c16114243.lua
+19
-19
expansions/script/c16114244.lua
expansions/script/c16114244.lua
+1
-1
expansions/script/c16114249.lua
expansions/script/c16114249.lua
+1
-1
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+13
-2
No files found.
expansions/script/c16114242.lua
View file @
6fd61bf4
--春仙精 霍普尔
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114211
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114242
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114242
,
"FAIRY"
,
0
,
16114211
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
16114211
)
--Recover
...
...
expansions/script/c16114243.lua
View file @
6fd61bf4
--恶魔仙精 贝拉冬娜
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
161142
08
,
"FAIRY"
,
1
)
function
c
16114243
.
initial_effect
(
c
)
local
m
,
cm
=
rk
.
set
(
161142
43
,
"FAIRY"
,
1
,
16114208
)
function
c
m
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
16114208
)
c
:
EnableReviveLimit
()
--search
...
...
@@ -11,9 +11,9 @@ function c16114243.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
c
16114243
.
cost
)
e1
:
SetTarget
(
c
16114243
.
target
)
e1
:
SetOperation
(
c
16114243
.
operation
)
e1
:
SetCost
(
c
m
.
cost
)
e1
:
SetTarget
(
c
m
.
target
)
e1
:
SetOperation
(
c
m
.
operation
)
c
:
RegisterEffect
(
e1
)
--to deck
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -25,44 +25,44 @@ function c16114243.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e3
:
SetCountLimit
(
1
,
m
+
100
)
e3
:
SetTarget
(
c
16114243
.
drtg
)
e3
:
SetOperation
(
c
16114243
.
drop
)
e3
:
SetTarget
(
c
m
.
drtg
)
e3
:
SetOperation
(
c
m
.
drop
)
c
:
RegisterEffect
(
e3
)
end
--search
function
c
16114243
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
m
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsDiscardable
()
end
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
end
function
c
16114243
.
filter2
(
c
)
function
c
m
.
filter2
(
c
)
return
c
:
IsCode
(
16114203
)
and
c
:
IsAbleToHand
()
end
function
c
16114243
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
16114243
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c
m
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
m
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c
16114243
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c
16114243
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c
m
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
tg
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tg
)
end
end
--to deck
function
c
16114243
.
tdfilter
(
c
)
function
c
m
.
tdfilter
(
c
)
return
c
:
IsAbleToDeck
()
end
function
c
16114243
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
16114243
.
tdfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c
16114243
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
function
c
m
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
m
.
tdfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c
m
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c
16114243
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
2
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c
m
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
2
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
1
)
end
function
c
16114243
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
tg
:
GetCount
()
<=
0
then
return
end
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
...
...
expansions/script/c16114244.lua
View file @
6fd61bf4
--不死仙精 贝拉多阿涅
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cr
=
rk
.
set
(
161142
09
,
"FAIRY"
)
local
m
,
cr
=
rk
.
set
(
161142
44
,
"FAIRY"
,
1
,
16114209
)
function
c16114244
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
16114209
)
c
:
EnableReviveLimit
()
...
...
expansions/script/c16114249.lua
View file @
6fd61bf4
...
...
@@ -112,6 +112,6 @@ function cm.seaop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
s
g
)
end
end
\ No newline at end of file
expansions/script/c16199990.lua
View file @
6fd61bf4
...
...
@@ -44,12 +44,12 @@ local cate_table_for_reikai={
[
'ct'
]
=
CATEGORY_COUNTER
,
[
'des'
]
=
CATEGORY_DESTROY
,
}
function
rk
.
set
(
code
,
setcode
,
rkflag
)
function
rk
.
set
(
code
,
setcode
,
rkflag
,
excode
)
if
not
_G
[
"c"
..
code
]
then
_G
[
"c"
..
code
]
=
{}
setmetatable
(
_G
[
"c"
..
code
],
Card
)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
end
local
ccodem
=
_G
[
"c"
..
code
]
local
ccodem
=
_G
[
"c"
..
code
]
if
setcode
and
not
ccodem
.
rksetcode
then
ccodem
.
rksetcode
=
setcode
end
...
...
@@ -74,6 +74,17 @@ function rk.set(code,setcode,rkflag)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
e3
,
0
)
end
if
excode
then
local
e2
=
Effect
.
GlobalEffect
()
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_PREDRAW
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetOperation
(
function
(
e
)
Duel
.
CreateToken
(
0
,
excode
)
e
:
Reset
()
end
)
Duel
.
RegisterEffect
(
e2
,
0
)
end
return
code
,
ccodem
end
function
rk
.
rkcardcheck
(
c
)
...
...
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