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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
be3f8823
Commit
be3f8823
authored
Aug 21, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
240073a3
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
23 additions
and
20 deletions
+23
-20
expansions/script/c16172000.lua
expansions/script/c16172000.lua
+1
-1
expansions/script/c16172005.lua
expansions/script/c16172005.lua
+5
-5
expansions/script/c16172007.lua
expansions/script/c16172007.lua
+2
-2
expansions/script/c16172008.lua
expansions/script/c16172008.lua
+3
-3
expansions/script/c16172014.lua
expansions/script/c16172014.lua
+3
-3
expansions/script/c16172015.lua
expansions/script/c16172015.lua
+3
-3
expansions/script/c16172017.lua
expansions/script/c16172017.lua
+1
-1
expansions/script/c16172018.lua
expansions/script/c16172018.lua
+1
-1
expansions/strings.conf
expansions/strings.conf
+4
-1
No files found.
expansions/script/c16172000.lua
View file @
be3f8823
...
...
@@ -65,5 +65,5 @@ function cm.thfilter2(c)
return
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
end
function
cm
.
thfilter3
(
c
,
tp
)
return
c
:
IsCanAddCounter
(
0x
2cc
,
1
)
and
c
:
IsAbleToHand
()
return
c
:
IsCanAddCounter
(
0x
cc2
,
1
)
and
c
:
IsAbleToHand
()
end
\ No newline at end of file
expansions/script/c16172005.lua
View file @
be3f8823
...
...
@@ -4,7 +4,7 @@ local m,cm=rk.set(16172005)
cm
.
code
=
16172004
cm
.
side_code
=
16172005
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
2cc
,
LOCATION_FZONE
)
c
:
EnableCounterPermit
(
0x
cc2
,
LOCATION_FZONE
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
...
...
@@ -93,17 +93,17 @@ function cm.check(c)
end
function
cm
.
op_do
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsExists
(
cm
.
check
,
1
,
nil
)
then
e
:
GetHandler
():
AddCounter
(
0x
2cc
,
1
)
e
:
GetHandler
():
AddCounter
(
0x
cc2
,
1
)
end
end
function
cm
.
counterop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
aux
.
IsCodeListed
(
re
:
GetHandler
(),
m
-
1
)
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
then
e
:
GetHandler
():
AddCounter
(
0x
2cc
,
1
)
e
:
GetHandler
():
AddCounter
(
0x
cc2
,
1
)
end
end
function
cm
.
costct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
2cc
,
8
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
2cc
,
8
,
REASON_COST
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
cc2
,
8
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
cc2
,
8
,
REASON_COST
)
end
function
cm
.
targetct
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
)
end
...
...
expansions/script/c16172007.lua
View file @
be3f8823
...
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
check
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x
2cc
,
1
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x
cc2
,
1
)
end
function
cm
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
check
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
@@ -52,7 +52,7 @@ function cm.ctop(e,tp)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
check
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
then
local
tc
=
sg
:
GetFirst
()
tc
:
AddCounter
(
0x
2cc
,
1
)
tc
:
AddCounter
(
0x
cc2
,
1
)
end
end
function
cm
.
quickcheck
(
c
)
...
...
expansions/script/c16172008.lua
View file @
be3f8823
...
...
@@ -61,7 +61,7 @@ function c16172008.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c16172008
.
ctfilter
(
c
,
ct
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x
2cc
,
ct
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x
cc2
,
ct
)
end
function
c16172008
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
and
ep
==
1
-
tp
...
...
@@ -70,7 +70,7 @@ function c16172008.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16172008
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
eg
:
GetCount
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE_SUMMON
,
eg
,
eg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
eg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
eg
:
GetCount
(),
0
,
0x
2cc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
eg
:
GetCount
(),
0
,
0x
cc2
)
end
function
c16172008
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateSummon
(
eg
)
...
...
@@ -80,7 +80,7 @@ function c16172008.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c16172008
.
ctfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
dc
)
local
tc
=
sg
:
GetFirst
()
tc
:
AddCounter
(
0x
2cc
,
dc
)
tc
:
AddCounter
(
0x
cc2
,
dc
)
end
end
...
...
expansions/script/c16172014.lua
View file @
be3f8823
...
...
@@ -53,19 +53,19 @@ function cm.immunefilter(e,te)
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
not
te
:
GetHandler
():
IsRace
(
RACE_FIEND
)
end
function
cm
.
ctcheck
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x
2cc
,
2
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x
cc2
,
2
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
cm
.
ctcheck
(
chkc
)
and
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
ctcheck
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_COUNTER
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
ctcheck
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
tp
,
0x
2cc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
2
,
tp
,
0x
cc2
)
end
function
cm
.
operation
(
e
,
tp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
tc
:
AddCounter
(
0x
2cc
,
2
)
tc
:
AddCounter
(
0x
cc2
,
2
)
end
end
function
cm
.
cfilter
(
c
,
tp
)
...
...
expansions/script/c16172015.lua
View file @
be3f8823
...
...
@@ -2,7 +2,7 @@
local
m
=
16172015
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
2cc
,
LOCATION_MZONE
)
c
:
EnableCounterPermit
(
0x
cc2
,
LOCATION_MZONE
)
--
c
:
SetSPSummonOnce
(
m
)
--special summon
...
...
@@ -54,8 +54,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
2cc
,
2
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
2cc
,
2
,
REASON_COST
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
cc2
,
2
,
REASON_COST
)
end
Duel
.
RemoveCounter
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0x
cc2
,
2
,
REASON_COST
)
end
function
cm
.
filter
(
c
)
return
aux
.
IsCodeListed
(
c
,
16172015
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c16172017.lua
View file @
be3f8823
...
...
@@ -2,7 +2,7 @@
local
m
=
16172017
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
2cc
)
c
:
EnableCounterPermit
(
0x
cc2
)
aux
.
AddCodeList
(
c
,
16172004
,
16172015
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16172018.lua
View file @
be3f8823
...
...
@@ -4,7 +4,7 @@ local m=16172018
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16172015
)
c
:
EnableCounterPermit
(
0x
2cc
)
c
:
EnableCounterPermit
(
0x
cc2
)
--xyz summon
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedureLevelFree
(
c
,
cm
.
mfilter
,
nil
,
2
,
2
)
...
...
expansions/strings.conf
View file @
be3f8823
...
...
@@ -200,6 +200,7 @@
!
setname
0
x3310
创造物
!
setname
0
x5310
造物少女
!
counter
0
x310
屠戮指示物
!
counter
0
x31a
加速指示物
#一般怠惰安乐人 904675726 119 0x400-0x40f
!
setname
0
x401
四天王天
...
...
@@ -351,7 +352,7 @@
!
counter
0
xf3c
幻象指示物
!
counter
0
xf3f
隐痛指示物
#REIKAI 2404873791 161
#REIKAI 2404873791 161
0xcc0-0xccf
!
setname
0
xcc6
龙帝
!
setname
0
xcc7
煌世
!
setname
0
xccf
仙精
...
...
@@ -359,6 +360,8 @@
#AddCodeList(c,16120010)「龙素记号xf」记述
#AddCodeList(c,16172004) 禁时王记述
#AddCodeList(c,16172015) 邪眼皇罗曼诺夫一世卡名记述
!
counter
0
x1ccc
无字指示物
!
counter
0
xcc2
魔帝指示物
#小桥流水 2466894135 162 0xf00-0xf0f
#AddCodeList(16200003) 单推人衍生物卡名记述
...
...
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