Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
58067e7c
Commit
58067e7c
authored
Jun 11, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/6/11 新增:乐姬的葬奏曲;融合召唤时,确认非公开卡片
parent
73038cd6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/RDFusion.lua
script/RDFusion.lua
+7
-0
script/c120247033.lua
script/c120247033.lua
+28
-0
No files found.
RD Patch.cdb
View file @
58067e7c
No preview for this file type
script/RDFusion.lua
View file @
58067e7c
...
@@ -22,6 +22,9 @@ end
...
@@ -22,6 +22,9 @@ end
function
RushDuel
.
FusionSpecialSummonFilter
(
c
,
e
,
tp
,
m
,
f
,
chkf
,
filter
)
function
RushDuel
.
FusionSpecialSummonFilter
(
c
,
e
,
tp
,
m
,
f
,
chkf
,
filter
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
filter
or
filter
(
c
))
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
filter
or
filter
(
c
))
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
RushDuel
.
ConfirmCardFilter
(
c
)
return
c
:
IsLocation
(
LOCATION_HAND
)
or
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFacedown
())
end
function
RushDuel
.
FusionTarget
(
matfilter
,
spfilter
,
exfilter
,
s_range
,
o_range
,
mat_check
,
action
)
function
RushDuel
.
FusionTarget
(
matfilter
,
spfilter
,
exfilter
,
s_range
,
o_range
,
mat_check
,
action
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
@@ -83,6 +86,10 @@ function RushDuel.FusionOperation(matfilter, spfilter, exfilter, s_range, o_rang
...
@@ -83,6 +86,10 @@ function RushDuel.FusionOperation(matfilter, spfilter, exfilter, s_range, o_rang
if
sg1
:
IsContains
(
fc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
fc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
fc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
fc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
mat
=
Duel
.
SelectFusionMaterial
(
tp
,
fc
,
mg1
,
nil
,
chkf
)
mat
=
Duel
.
SelectFusionMaterial
(
tp
,
fc
,
mg1
,
nil
,
chkf
)
fc
:
SetMaterial
(
mat
)
fc
:
SetMaterial
(
mat
)
local
cg
=
mat
:
Filter
(
RushDuel
.
ConfirmCardFilter
,
nil
)
if
cg
:
GetCount
()
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
mat_move
(
mat
)
mat_move
(
mat
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
fc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
fc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c120247033.lua
0 → 100644
View file @
58067e7c
local
m
=
120247033
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"乐姬的葬奏曲"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
RD
.
CreateFusionEffect
(
c
,
cm
.
matfilter
,
cm
.
spfilter
,
cm
.
exfilter
,
LOCATION_GRAVE
,
0
,
nil
,
RD
.
FusionToDeck
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
spfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsAbleToDeck
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_GRAVE
,
0
,
5
,
nil
)
end
\ No newline at end of file
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