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
xiaoye
ygopro-222DIY-cards
Commits
81091c2e
Commit
81091c2e
authored
Dec 30, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e167bdb8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/lflist.conf
expansions/lflist.conf
+0
-1
expansions/script/c33310100.lua
expansions/script/c33310100.lua
+9
-0
expansions/script/c33310101.lua
expansions/script/c33310101.lua
+2
-2
expansions/script/c33400314.lua
expansions/script/c33400314.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
81091c2e
No preview for this file type
expansions/lflist.conf
View file @
81091c2e
...
...
@@ -302,7 +302,6 @@
26802002
2
--偶像新人的初登场
26803007
0
--惬意世界
26806013
1
--心灵之绘·海伊
26805005
1
--黛冬优子
26807033
1
--小巷探秘
26807046
0
--被雨淋湿不知所措
26805007
0
--西京夏日约会
...
...
expansions/script/c33310100.lua
View file @
81091c2e
...
...
@@ -3,6 +3,12 @@ if not pcall(function() require("expansions/script/c10199990") end) then require
local
m
,
cm
=
rsof
.
DefineCard
(
33310100
,
"Cochrot"
)
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e0
:
SetOperation
(
cm
.
skipop
)
c
:
RegisterEffect
(
e0
)
local
e1
=
rsef
.
SC
(
c
,
EVENT_SPSUMMON_SUCCESS
,
nil
,
nil
,
nil
,
rscon
.
sumtype
(
"rit"
),
cm
.
atkop
)
local
e2
,
e3
=
rsef
.
SV_INDESTRUCTABLE
(
c
,
"battle,effect"
)
local
e4
=
rsef
.
RegisterClone
(
c
,
e3
,
"code"
,
EFFECT_AVOID_BATTLE_DAMAGE
)
...
...
@@ -14,6 +20,9 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
local
e6
=
rsef
.
STO
(
c
,
EVENT_REMOVE
,{
m
,
0
},
nil
,
nil
,
"de,dsp"
,
nil
,
nil
,
rsop
.
target
(
cm
.
actfilter
,
nil
,
LOCATION_GRAVE
+
LOCATION_DECK
),
cm
.
actop
)
end
function
cm
.
skipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
33310100
,
0
))
end
function
cm
.
atkop
(
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
#
g
<=
0
then
return
end
...
...
expansions/script/c33310101.lua
View file @
81091c2e
...
...
@@ -3,7 +3,7 @@ if not pcall(function() require("expansions/script/c10199990") end) then require
local
m
,
cm
=
rsof
.
DefineCard
(
33310101
)
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
0x1
},
"tg"
,
nil
,
LOCATION_SZONE
,
nil
,
nil
,
rsop
.
target2
(
cm
.
fun
,
cm
.
copyfilter
,
"tg"
,
LOCATION_DECK
),
cm
.
copyop
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
0x1
},
"tg"
,
nil
,
LOCATION_SZONE
,
nil
,
nil
,
rsop
.
target2
(
cm
.
fun
,
cm
.
copyfilter
,
"tg"
,
LOCATION_DECK
+
LOCATION_HAND
),
cm
.
copyop
)
local
e3
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},{
1
,
0x1
},
"dis"
,
nil
,
LOCATION_SZONE
,
nil
,
nil
,
rsop
.
target
(
aux
.
disfilter1
,
"dis"
,
0
,
LOCATION_ONFIELD
),
cm
.
disop
)
local
e4
=
rsef
.
QO
(
c
,
nil
,{
m
,
2
},{
1
,
0x1
},
nil
,
nil
,
LOCATION_SZONE
,
cm
.
skipcon
,
nil
,
nil
,
cm
.
skipop
)
end
...
...
@@ -13,7 +13,7 @@ function cm.copyfilter(c,e,tp)
end
function
cm
.
copyop
(
e
,
tp
)
rsof
.
SelectHint
(
tp
,
"tg"
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
copyfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
copyfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
not
tc
or
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
<=
0
or
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
local
te
=
tc
:
GetActivateEffect
()
local
op
=
te
:
GetOperation
()
...
...
expansions/script/c33400314.lua
View file @
81091c2e
...
...
@@ -35,7 +35,7 @@ function c33400314.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c33400314
.
spfilter
(
c
,
fc
,
tp
)
return
c
:
IsReleasable
ByEffect
()
and
c
:
IsSetCard
(
0x5341
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
fc
)
>
0
return
c
:
IsReleasable
()
and
c
:
IsSetCard
(
0x5341
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
fc
)
>
0
end
function
c33400314
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
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