Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOPro-FESTiVAL
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
聖園ミカ
YGOPro-FESTiVAL
Commits
dd6f42d7
Commit
dd6f42d7
authored
Jan 19, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man!
parent
84dd64e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
5 deletions
+32
-5
FESTiVAL.cdb
FESTiVAL.cdb
+0
-0
script/c37573001.lua
script/c37573001.lua
+32
-5
No files found.
FESTiVAL.cdb
View file @
dd6f42d7
No preview for this file type
script/c37573001.lua
View file @
dd6f42d7
...
@@ -62,7 +62,7 @@ function c37573001.costfilter(c,tp)
...
@@ -62,7 +62,7 @@ function c37573001.costfilter(c,tp)
if
not
(
c
:
IsAbleToDeckAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
))
then
return
false
end
if
not
(
c
:
IsAbleToDeckAsCost
()
and
c
:
IsType
(
TYPE_MONSTER
))
then
return
false
end
local
race
=
c
:
GetRace
()
local
race
=
c
:
GetRace
()
local
attr
=
c
:
GetAttribute
()
local
attr
=
c
:
GetAttribute
()
return
Duel
.
IsExistingMatchingCard
(
c37573001
.
costfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
c
,
attr
,
race
)
return
Duel
.
IsExistingMatchingCard
(
c37573001
.
costfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
,
attr
,
race
)
and
Duel
.
IsExistingMatchingCard
(
c37573001
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
attr
,
race
)
and
Duel
.
IsExistingMatchingCard
(
c37573001
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
attr
,
race
)
end
end
function
c37573001
.
costfilter2
(
c
,
attr
,
race
)
function
c37573001
.
costfilter2
(
c
,
attr
,
race
)
...
@@ -80,7 +80,7 @@ function c37573001.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -80,7 +80,7 @@ function c37573001.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local
attr
=
c1
:
GetAttribute
()
local
attr
=
c1
:
GetAttribute
()
local
race
=
c1
:
GetRace
()
local
race
=
c1
:
GetRace
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c37573001
.
costfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
2
,
c1
,
attr
,
race
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c37573001
.
costfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c1
,
attr
,
race
)
Duel
.
SendtoDeck
(
g1
+
g2
,
nil
,
2
,
REASON_COST
)
Duel
.
SendtoDeck
(
g1
+
g2
,
nil
,
2
,
REASON_COST
)
race_list
[
e
]
=
{
attr
=
attr
,
race
=
race
}
race_list
[
e
]
=
{
attr
=
attr
,
race
=
race
}
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
@@ -92,8 +92,35 @@ function c37573001.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,8 +92,35 @@ function c37573001.thop(e,tp,eg,ep,ev,re,r,rp)
local
race
=
record
.
race
local
race
=
record
.
race
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c37573001
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
attr
,
race
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c37573001
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
attr
,
race
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
if
not
tc
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
not
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c37573001
.
sumlimit
)
e1
:
SetLabel
(
tc
:
GetCode
())
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
e1
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_MSET
)
Duel
.
RegisterEffect
(
e3
,
tp
)
local
e4
=
e1
:
Clone
()
e4
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e4
:
SetValue
(
c37573001
.
aclimit
)
Duel
.
RegisterEffect
(
e4
,
tp
)
end
end
end
end
function
c37573001
.
sumlimit
(
e
,
c
)
return
c
:
IsCode
(
e
:
GetLabel
())
end
function
c37573001
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsCode
(
e
:
GetLabel
())
and
re
:
IsActiveType
(
TYPE_MONSTER
)
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