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
Ai
ygopro-222DIY-cards
Commits
01ae0be2
Commit
01ae0be2
authored
Feb 28, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data in
parent
a10b3e10
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
28 additions
and
31 deletions
+28
-31
expansions/lflist.conf
expansions/lflist.conf
+2
-2
expansions/script/c1199001.lua
expansions/script/c1199001.lua
+1
-1
expansions/script/c12045031.lua
expansions/script/c12045031.lua
+1
-1
expansions/script/c16200005.lua
expansions/script/c16200005.lua
+2
-2
expansions/script/c16200006.lua
expansions/script/c16200006.lua
+1
-1
expansions/script/c21520128.lua
expansions/script/c21520128.lua
+1
-1
expansions/script/c26806030.lua
expansions/script/c26806030.lua
+9
-9
expansions/script/c33400409.lua
expansions/script/c33400409.lua
+0
-1
expansions/script/c33502009.lua
expansions/script/c33502009.lua
+3
-2
expansions/script/c33502314.lua
expansions/script/c33502314.lua
+6
-7
expansions/script/c81011046.lua
expansions/script/c81011046.lua
+1
-1
expansions/script/c81041072.lua
expansions/script/c81041072.lua
+1
-1
expansions/strings.conf
expansions/strings.conf
+0
-2
No files found.
expansions/lflist.conf
View file @
01ae0be2
...
...
@@ -1026,7 +1026,7 @@
65010561
1
--友希兰
65010578
0
--绝对宣言-独奏会-
65010586
0
--星光歌剧 凤满
Revue
65010587
0
--「星光歌剧」台本-舞台少女心得
65010587
1
--「星光歌剧」台本-舞台少女心得
65020212
0
--行星驱逐舰 风雪游隼号
65020213
0
--「六兆年零一夜物语」凑友希那
#650-2
...
...
@@ -1140,7 +1140,7 @@
81005008
1
--薇薇安·伊文捷琳 Ω
81005026
2
--水晶艾蕾娜·雨夜
81005053
0
--黑野紫
81005076
1
--
白雪安娜·夏恋
81005076
1
--
浅见空子·月色
81008016
1
--不被吓个半死是不可能的
81010021
1
--高空坠落
81011008
1
--薇薇安·伊文捷琳 ω
...
...
expansions/script/c1199001.lua
View file @
01ae0be2
...
...
@@ -25,7 +25,7 @@ function c1199001.initial_effect(c)
--
end
--
function
c1199001
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1199001
.
cost
2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
...
...
expansions/script/c12045031.lua
View file @
01ae0be2
...
...
@@ -90,7 +90,7 @@ end
function
cm
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
rp
=
1
-
tp
not
c
:
IsReason
(
REASON_REPLACE
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
repfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
rp
=
=
1
-
tp
not
c
:
IsReason
(
REASON_REPLACE
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
repfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
Duel
.
SelectEffectYesNo
(
tp
,
c
,
96
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESREPLACE
)
...
...
expansions/script/c16200005.lua
View file @
01ae0be2
...
...
@@ -75,7 +75,7 @@ function c16200005.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_FUSION_MATERIAL
)
e2
:
SetValue
(
c
m
.
fuslimit
)
e2
:
SetValue
(
c
16200005
.
fuslimit
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
)
token
:
RegisterEffect
(
e2
,
true
)
local
e3
=
e2
:
Clone
()
...
...
@@ -97,6 +97,6 @@ function c16200005.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c
m
.
fuslimit
(
e
,
c
,
sumtype
)
function
c
16200005
.
fuslimit
(
e
,
c
,
sumtype
)
return
sumtype
==
SUMMON_TYPE_FUSION
end
expansions/script/c16200006.lua
View file @
01ae0be2
...
...
@@ -43,7 +43,7 @@ function c16200006.target(e,tp,eg,ep,ev,re,r,rp,chk)
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
16200006
,
1
),
aux
.
Stringid
(
16200006
,
2
))
elseif
a2
and
a3
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
16200006
,
2
),
aux
.
Stringid
(
16200006
,
3
))
+
1
elseif
a1
and
a3
elseif
a1
and
a3
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
16200006
,
1
),
aux
.
Stringid
(
16200006
,
3
))
if
op
==
1
then
op
=
2
...
...
expansions/script/c21520128.lua
View file @
01ae0be2
...
...
@@ -44,7 +44,7 @@ function c21520128.operation(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsExistingMatchingCard
(
c21520128
.
spfilter
,
p
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
p
)
and
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
21520128
,
1
))
then
local
dg
=
Duel
.
GetMatchingGroup
(
c21520128
.
spfilter
,
p
,
LOCATION_DECK
,
0
,
nil
,
e
,
p
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
dg
:
Select
(
p
,
1
,
1
)
,
nil
)
local
sg
=
dg
:
Select
(
p
,
1
,
1
,
nil
)
Duel
.
SpecialSummon
(
sg
,
0
,
p
,
p
,
false
,
false
,
POS_FACEUP
)
Duel
.
ConfirmCards
(
1
-
p
,
sg
)
end
...
...
expansions/script/c26806030.lua
View file @
01ae0be2
...
...
@@ -19,9 +19,9 @@ function c26806030.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCondition
(
c
m
.
thcon
)
e3
:
SetTarget
(
c
m
.
thtg
)
e3
:
SetOperation
(
c
m
.
thop
)
e3
:
SetCondition
(
c
26806030
.
thcon
)
e3
:
SetTarget
(
c
26806030
.
thtg
)
e3
:
SetOperation
(
c
26806030
.
thop
)
c
:
RegisterEffect
(
e3
)
end
function
c26806030
.
synfilter
(
c
)
...
...
@@ -50,19 +50,19 @@ function c26806030.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
c
m
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
26806030
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
end
function
c
m
.
thfilter
(
c
)
function
c
26806030
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x605
)
and
c
:
IsAbleToHand
()
end
function
c
m
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
m
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c
26806030
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
26806030
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c
m
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
26806030
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
m
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
26806030
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
expansions/script/c33400409.lua
View file @
01ae0be2
...
...
@@ -20,7 +20,6 @@ function c33400409.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
33400409
+
10000
)
e2
:
SetCost
(
c33400409
.
cost
)
e2
:
SetTarget
(
c33400409
.
sptg
)
e2
:
SetOperation
(
c33400409
.
spop
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c33502009.lua
View file @
01ae0be2
...
...
@@ -70,8 +70,9 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
1
-
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
tp
,
g
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter0
,
1
-
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
local
sg
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
cm
.
thfilter0
,
1
-
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
tp
,
REASON_RULE
)
local
sg
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
cm
.
thfilter0
,
1
-
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
tp
,
REASON_RULE
)
end
end
end
function
cm
.
thfilter0
(
c
)
...
...
expansions/script/c33502314.lua
View file @
01ae0be2
...
...
@@ -62,13 +62,12 @@ function cm.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
phase
=
Duel
.
GetCurrentPhase
()
if
(
phase
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
())
or
phase
==
PHASE_DAMAGE_CAL
then
return
end
local
sg
=
Group
.
CreateGroup
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
1
-
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
rc
=
g
:
GetCount
()
if
rc
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
dg
=
g
:
Select
(
1
-
tp
,
rc
-
1
,
rc
-
1
,
nil
)
sg
:
Merge
(
dg
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
1
-
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
rc
=
g
:
GetCount
()
if
rc
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOGRAVE
)
local
dg
=
g
:
Select
(
1
-
tp
,
rc
-
1
,
rc
-
1
,
nil
)
sg
:
Merge
(
dg
)
end
if
sg
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
...
...
expansions/script/c81011046.lua
View file @
01ae0be2
...
...
@@ -63,6 +63,6 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
expansions/script/c81041072.lua
View file @
01ae0be2
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
81041005
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_LVCHANGE
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/strings.conf
View file @
01ae0be2
...
...
@@ -5,7 +5,6 @@
# 禁用 0x100-0x1ff 区间避免 OCG 卡字段上浮冲突
#某失智の刀客塔 3529764274 1 0xca0-0xcaf
!
setname
0
xca1
空洞骑士
!
setname
0
xca2
Operatives
!
setname
0
xca3
后巴别塔
!
setname
0
xca7
爱国者
...
...
@@ -245,7 +244,6 @@
#named_with_HakaShiro 墓城
#named_with_SeHakaShiroJyou 墓城七姬
#named_with_SkyLand 天境
#named_with_Unleashed 感情爆发
#AddCodeList(12065002) 一生的约定 雫记述
!
counter
0
x1fb0
恋猫指示物
!
counter
0
x2fb0
梦境指示物
...
...
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