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
c3fa64bd
Commit
c3fa64bd
authored
Aug 19, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
bf583285
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
25 deletions
+26
-25
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c1102017.lua
expansions/script/c1102017.lua
+1
-1
expansions/script/c1141202.lua
expansions/script/c1141202.lua
+13
-13
expansions/script/c12400015.lua
expansions/script/c12400015.lua
+1
-1
expansions/script/c50424435.lua
expansions/script/c50424435.lua
+4
-0
expansions/script/c81036013.lua
expansions/script/c81036013.lua
+1
-1
expansions/script/c81042019.lua
expansions/script/c81042019.lua
+3
-6
expansions/script/c96077021.lua
expansions/script/c96077021.lua
+3
-3
No files found.
expansions/FiNALE.cdb
View file @
c3fa64bd
No preview for this file type
expansions/script/c1102017.lua
View file @
c3fa64bd
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
aux
.
AddMaterialCodeList
(
c
,
1102000
)
aux
.
AddCodeList
(
c
,
1102000
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
c
2956282
.
synfilter
,
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
1102000
),
1
,
1
)
aux
.
AddSynchroProcedure
(
c
,
c
m
.
synfilter
,
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
1102000
),
1
,
1
)
c
:
EnableReviveLimit
()
--code
aux
.
EnableChangeCode
(
c
,
1102000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
...
...
expansions/script/c1141202.lua
View file @
c3fa64bd
...
...
@@ -8,8 +8,8 @@ function c1141202.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_HANDES
+
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
c114120
1
.
tg1
)
e1
:
SetOperation
(
c114120
1
.
op1
)
e1
:
SetTarget
(
c114120
2
.
tg1
)
e1
:
SetOperation
(
c114120
2
.
op1
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -17,17 +17,17 @@ function c1141202.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCondition
(
c114120
1
.
con2
)
e2
:
SetTarget
(
c114120
1
.
tg2
)
e2
:
SetOperation
(
c114120
1
.
op2
)
e2
:
SetCondition
(
c114120
2
.
con2
)
e2
:
SetTarget
(
c114120
2
.
tg2
)
e2
:
SetOperation
(
c114120
2
.
op2
)
c
:
RegisterEffect
(
e2
)
--
end
--
function
c114120
1
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c114120
2
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c114120
1
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c114120
2
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
sg
:
GetCount
()
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
...
...
@@ -45,20 +45,20 @@ function c1141201.op1(e,tp,eg,ep,ev,re,r,rp)
end
end
--
function
c114120
1
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c114120
2
.
con2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
bit
.
band
(
r
,
0x4040
)
~=
0
and
c
:
IsPreviousLocation
(
LOCATION_HAND
)
end
function
c114120
1
.
tfilter2
(
c
)
function
c114120
2
.
tfilter2
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsSetCard
(
0x3e13
)
and
not
c
:
IsType
(
TYPE_SPELL
)
end
function
c114120
1
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c114120
1
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
5
,
nil
)
end
function
c114120
2
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c114120
2
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
5
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
5
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
function
c114120
1
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c114120
2
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c114120
1
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
5
,
5
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c114120
2
.
tfilter2
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
5
,
5
,
nil
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
end
...
...
expansions/script/c12400015.lua
View file @
c3fa64bd
...
...
@@ -39,7 +39,7 @@ function s.spop1(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
spfil
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
g
:
GetCount
()
<=
0
then
return
end
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
7
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
s
.
tfilter
(
c
,
tp
)
...
...
expansions/script/c50424435.lua
0 → 100644
View file @
c3fa64bd
--英灵礼装-最后的加演
function
c50424435
.
initial_effect
(
c
)
end
expansions/script/c81036013.lua
View file @
c3fa64bd
...
...
@@ -22,7 +22,7 @@ function cm.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_REMOVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
,
m
+
900
)
e2
:
SetCountLimit
(
1
,
m
+
900
)
e2
:
SetTarget
(
cm
.
drtg
)
e2
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e2
)
...
...
expansions/script/c81042019.lua
View file @
c3fa64bd
...
...
@@ -17,16 +17,13 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
Senya
.
NanahiraTrap
(
c
,
e1
)
end
function
cm
.
costfilter
(
c
,
tp
)
return
c
:
IsCode
(
37564765
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalCode
()
==
37564765
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
cm
.
costfilter
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
costfilter
,
1
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
nil
,
37564765
)
or
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
nil
,
37564765
)
and
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
1
,
nil
,
37564765
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c96077021.lua
View file @
c3fa64bd
--尽灭黑洞龙
local
m
=
9607702
0
local
m
=
9607702
1
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
96077020
)
aux
.
AddCodeList
(
c
,
96077020
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
7
,
2
)
c
:
EnableReviveLimit
()
...
...
@@ -63,7 +63,7 @@ function cm.upcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetBattleMonster
(
1
-
tp
)
return
tc
and
tc
:
IsRelateToBattle
()
and
(
Duel
.
GetAttacker
()
==
c
or
Duel
.
GetAttackTarget
()
==
c
)
end
end
function
cm
.
uptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
aux
.
nzatk
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
aux
.
nzatk
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
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