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
39fa2a4e
Commit
39fa2a4e
authored
Aug 05, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1+1=3
parent
a010f764
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
16 deletions
+21
-16
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/pics/29990620.jpg
expansions/pics/29990620.jpg
+0
-0
expansions/pics/29990700.jpg
expansions/pics/29990700.jpg
+0
-0
expansions/script/c12812006.lua
expansions/script/c12812006.lua
+16
-12
expansions/script/c16114233.lua
expansions/script/c16114233.lua
+1
-1
expansions/script/c16114263.lua
expansions/script/c16114263.lua
+2
-2
expansions/script/c16114265.lua
expansions/script/c16114265.lua
+1
-1
expansions/script/c16120004.lua
expansions/script/c16120004.lua
+1
-0
No files found.
expansions/FiNALE.cdb
View file @
39fa2a4e
No preview for this file type
expansions/pics/29990620.jpg
View replaced file @
a010f764
View file @
39fa2a4e
30.9 KB
|
W:
|
H:
31 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/pics/29990700.jpg
View replaced file @
a010f764
View file @
39fa2a4e
89.8 KB
|
W:
|
H:
26.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12812006.lua
View file @
39fa2a4e
...
@@ -15,12 +15,10 @@ function c12812006.initial_effect(c)
...
@@ -15,12 +15,10 @@ function c12812006.initial_effect(c)
--special summon
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DISABLE
)
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCountLimit
(
1
,
12812106
)
e2
:
SetCountLimit
(
1
,
12812106
)
e2
:
SetCondition
(
cm
.
discon
)
e2
:
SetTarget
(
cm
.
distg
)
e2
:
SetTarget
(
cm
.
distg
)
e2
:
SetOperation
(
cm
.
disop
)
e2
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -44,18 +42,24 @@ function cm.psplimit(e,c,tp,sumtp,sumpos)
...
@@ -44,18 +42,24 @@ function cm.psplimit(e,c,tp,sumtp,sumpos)
return
not
c
:
IsSetCard
(
0xa73
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
return
not
c
:
IsSetCard
(
0xa73
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
end
--效果1
--效果1
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainDisablable
(
ev
)
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
GetTurnPlayer
()
==
tp
end
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
eg
,
1
,
0
,
0
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CARDTYPE
)
e
:
SetLabel
(
Duel
.
AnnounceType
(
tp
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
~=
0
then
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
==
0
then
return
end
Duel
.
NegateEffect
(
ev
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
local
tc
=
g
:
GetFirst
()
local
opt
=
e
:
GetLabel
()
if
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
~=
0
and
(
opt
==
0
and
tc
:
IsType
(
TYPE_MONSTER
))
or
(
opt
==
1
and
tc
:
IsType
(
TYPE_SPELL
))
or
(
opt
==
2
and
tc
:
IsType
(
TYPE_TRAP
))
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
else
Duel
.
MoveSequence
(
tc
,
SEQ_DECKBOTTOM
)
end
end
end
end
--效果2
--效果2
...
...
expansions/script/c16114233.lua
View file @
39fa2a4e
...
@@ -4,7 +4,7 @@ local m,cm=rk.set(16114233)
...
@@ -4,7 +4,7 @@ local m,cm=rk.set(16114233)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16114235
)
aux
.
AddCodeList
(
c
,
16114235
)
--Synchro summon
--Synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
Tuner
(
cm
.
checksyn
)
,
aux
.
NonTuner
(
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_FAIRY
)),
1
)
aux
.
AddSynchroProcedure
(
c
,
cm
.
checksyn
,
aux
.
NonTuner
(
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_FAIRY
)),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--Set
--Set
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16114263.lua
View file @
39fa2a4e
...
@@ -44,14 +44,14 @@ function cm.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -44,14 +44,14 @@ function cm.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
c
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
cm
.
tgfilter
(
c
)
function
cm
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0xccf
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0xccf
)
and
c
:
IsAbleToGrave
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
TOGRAVE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
2
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
2
,
nil
)
Duel
.
SendtoGrave
(
tg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tg
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c16114265.lua
View file @
39fa2a4e
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
tgcheck
(
c
,
tp
)
function
cm
.
tgcheck
(
c
,
tp
)
return
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
tfcheck
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
,
tp
)
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsSetCard
(
0xccf
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
tfcheck
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
,
tp
)
end
end
function
cm
.
tfcheck
(
c
,
tp
)
function
cm
.
tfcheck
(
c
,
tp
)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
...
...
expansions/script/c16120004.lua
View file @
39fa2a4e
...
@@ -50,6 +50,7 @@ function cm.initial_effect(c)
...
@@ -50,6 +50,7 @@ function cm.initial_effect(c)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetRange
(
LOCATION_MZONE
)
e6
:
SetCountLimit
(
1
,
m
)
e6
:
SetCountLimit
(
1
,
m
)
e6
:
SetCondition
(
cm
.
thcon
)
e6
:
SetCondition
(
cm
.
thcon
)
e6
:
SetCost
(
cm
.
cost
)
e6
:
SetTarget
(
cm
.
thtg
)
e6
:
SetTarget
(
cm
.
thtg
)
e6
:
SetOperation
(
cm
.
thop
)
e6
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
...
...
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