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
93f16920
Commit
93f16920
authored
Mar 28, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hole
parent
a5ab3d63
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
50 deletions
+0
-50
deck/2021-03-29 1st.ydk
deck/2021-03-29 1st.ydk
+0
-1
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/170001.jpg
expansions/pics/170001.jpg
+0
-0
expansions/script/c170001.lua
expansions/script/c170001.lua
+0
-49
No files found.
deck/2021-03-29 1st.ydk
View file @
93f16920
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
114506
114506
114507
114507
114508
114508
170001
170002
170002
170003
170003
170004
170004
...
...
expansions/222DIY.cdb
View file @
93f16920
No preview for this file type
expansions/pics/170001.jpg
deleted
100644 → 0
View file @
a5ab3d63
78.8 KB
expansions/script/c170001.lua
deleted
100644 → 0
View file @
a5ab3d63
--狐之未眠
if
not
pcall
(
function
()
require
(
"expansions/script/c114500"
)
end
)
then
require
(
"script/c114500"
)
end
local
m
,
cm
=
rscf
.
DefineCard
(
170001
)
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,{
1
,
m
,
2
},
"sp"
,
nil
,
nil
,
cm
.
cost
,
rsop
.
target2
(
cm
.
fun
,
cm
.
spfilter
,
"sp"
,
LOCATION_DECK
,
0
,
cm
.
ct
),
cm
.
act
)
local
e2
=
rsef
.
SV_ACTIVATE_IMMEDIATELY
(
c
,
"hand"
,
cm
.
acon
)
end
function
cm
.
acon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
not
Duel
.
CheckPhaseActivity
()
end
function
cm
.
cfilter
(
c
)
return
not
c
:
IsPublic
()
and
c
:
IsRace
(
RACE_BEAST
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsOnField
()
or
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
e
:
GetHandler
():
IsStatus
(
STATUS_ACT_FROM_HAND
)
then
local
g
=
rsop
.
SelectSolve
(
HINTMSG_CONFIRM
,
tp
,
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,{})
if
#
g
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
function
cm
.
fun
(
g
,
e
,
tp
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
function
cm
.
ct
(
e
,
tp
)
local
ct
=
math.abs
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
-
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
))
if
ct
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
ct
then
return
ct
else
return
0
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
rscf
.
spfilter
()(
c
,
e
,
tp
)
and
c
:
IsRace
(
RACE_BEAST
)
and
c
:
IsLevel
(
2
)
end
function
cm
.
act
(
e
,
tp
)
local
ct
=
math.abs
(
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
-
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
))
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ct
>
0
and
ft
>=
ct
then
rsop
.
SelectSpecialSummon
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
ct
,
ct
,
nil
,{},
e
,
tp
)
end
local
e1
=
rsef
.
FV_LIMIT_PLAYER
({
e
:
GetHandler
(),
tp
},
"sp"
,
nil
,
cm
.
tg
,{
1
,
0
},
nil
,
rsreset
.
pend
)
end
function
cm
.
tg
(
e
,
c
)
return
not
c
:
IsRace
(
RACE_BEAST
)
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