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
cb592420
Commit
cb592420
authored
Aug 31, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
9ba10433
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/pics/50218133.jpg
expansions/pics/50218133.jpg
+0
-0
expansions/script/c29990300.lua
expansions/script/c29990300.lua
+11
-11
No files found.
expansions/FiNALE.cdb
View file @
cb592420
No preview for this file type
expansions/pics/50218133.jpg
View replaced file @
9ba10433
View file @
cb592420
81.6 KB
|
W:
|
H:
110 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c29990300.lua
View file @
cb592420
...
...
@@ -25,31 +25,31 @@ function c29990300.condition(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
end
function
c29990300
.
filter
(
c
,
tp
)
function
c29990300
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x751
)
and
c
:
IsLevel
(
2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
end
function
c29990300
.
filter1
(
c
)
function
c29990300
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x751
)
and
c
:
IsLevel
(
7
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
and
Duel
.
IsExistingMatchingCard
(
c29990300
.
gfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetRace
())
and
Duel
.
IsExistingMatchingCard
(
c29990300
.
gfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetRace
()
,
e
,
tp
)
end
function
c29990300
.
filter2
(
c
)
function
c29990300
.
filter2
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x751
)
and
c
:
IsLevel
(
7
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
and
Duel
.
IsExistingMatchingCard
(
c29990300
.
gfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetRace
())
and
Duel
.
IsExistingMatchingCard
(
c29990300
.
gfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetRace
()
,
e
,
tp
)
end
function
c29990300
.
gfilter
(
c
,
race
)
return
c
:
IsRace
(
race
)
and
(
c
:
IsLevel
(
2
)
or
c
:
IsSetCard
(
0x751
))
and
(
c
:
IsLocation
(
LOCATION_GRAVE
))
end
function
c29990300
.
xfilter
(
c
)
function
c29990300
.
xfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x751
)
end
function
c29990300
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c29990300
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c29990300
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
end
function
c29990300
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c29990300
.
filter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
x
=
Duel
.
GetMatchingGroup
(
c29990300
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c29990300
.
filter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
local
x
=
Duel
.
GetMatchingGroup
(
c29990300
.
xfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
,
tp
)
local
c
=
g
:
GetClassCount
(
Card
.
GetCode
)
if
c
>=
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
...
...
@@ -58,8 +58,8 @@ function c29990300.activate(e,tp,eg,ep,ev,re,r,rp)
aux
.
GCheckAdditional
=
nil
local
ct
=
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_DISCARD
)
if
ct
==
0
then
return
end
local
g1
=
Duel
.
GetMatchingGroup
(
c29990300
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
c29990300
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c29990300
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
local
g2
=
Duel
.
GetMatchingGroup
(
c29990300
.
filter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
)
if
ct
>=
1
and
ct
<=
3
and
#
g1
+#
g2
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
29990300
,
0
))
then
Duel
.
BreakEffect
()
if
#
g1
>
0
and
(
#
g2
==
0
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
29990300
,
1
),
aux
.
Stringid
(
29990300
,
2
))
==
0
)
then
...
...
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