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
4239a3a9
Commit
4239a3a9
authored
Jun 23, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
a05cc06e
Pipeline
#14183
passed with stages
in 36 minutes and 4 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
expansions/script/c16114208.lua
expansions/script/c16114208.lua
+11
-3
expansions/script/c16114243.lua
expansions/script/c16114243.lua
+10
-2
No files found.
expansions/script/c16114208.lua
View file @
4239a3a9
--恶魔仙精 贝拉冬娜
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114208
,
"FAIRY"
,
1
)
local
m
,
cm
=
rk
.
set
(
16114208
,
"FAIRY"
,
1
,
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
EnableReviveLimit
()
...
...
@@ -62,13 +62,21 @@ function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
1
)
end
function
cm
.
check
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_DECK
)
end
function
cm
.
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
)
local
og
=
Duel
.
GetOperatedGroup
()
if
not
og
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
return
end
Duel
.
ShuffleDeck
(
tp
)
if
og
:
GetCount
()
<
1
then
return
end
if
og
:
IsExists
(
cm
.
check
,
1
,
nil
,
tp
)
then
Duel
.
ShuffleDeck
(
tp
)
end
if
og
:
IsExists
(
cm
.
check
,
1
,
nil
,
1
-
tp
)
then
Duel
.
ShuffleDeck
(
1
-
tp
)
end
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
end
\ No newline at end of file
expansions/script/c16114243.lua
View file @
4239a3a9
...
...
@@ -62,13 +62,21 @@ function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
1
)
end
function
cm
.
check
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_DECK
)
end
function
cm
.
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
)
local
og
=
Duel
.
GetOperatedGroup
()
if
not
og
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
return
end
Duel
.
ShuffleDeck
(
tp
)
if
og
:
GetCount
()
<
1
then
return
end
if
og
:
IsExists
(
cm
.
check
,
1
,
nil
,
tp
)
then
Duel
.
ShuffleDeck
(
tp
)
end
if
og
:
IsExists
(
cm
.
check
,
1
,
nil
,
1
-
tp
)
then
Duel
.
ShuffleDeck
(
1
-
tp
)
end
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
1000
,
REASON_EFFECT
)
end
\ No newline at end of file
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