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
5
Issues
5
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
MyCard
ygopro-rush-duel
Commits
0aac38e5
Commit
0aac38e5
authored
Dec 21, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/12/21 新增:元素英雄 涡流翼侠,融合召唤调整
parent
06df4796
Pipeline
#31905
passed with stages
in 9 minutes and 29 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
8 deletions
+49
-8
RD Patch.cdb
RD Patch.cdb
+0
-0
script/RDFusion.lua
script/RDFusion.lua
+9
-2
script/c120247033.lua
script/c120247033.lua
+1
-1
script/c120253003.lua
script/c120253003.lua
+1
-1
script/c120277007.lua
script/c120277007.lua
+6
-4
script/c120277065.lua
script/c120277065.lua
+32
-0
No files found.
RD Patch.cdb
View file @
0aac38e5
No preview for this file type
script/RDFusion.lua
View file @
0aac38e5
-- Rush Duel 融合
RushDuel
=
RushDuel
or
{}
-- 当前的融合效果
RushDuel
.
CurrentFusionEffect
=
nil
-- 内部方法: 生成融合素材的函数
function
RushDuel
.
_private_make_fusion_material
(
card
,
sub
,
insf
,
mat
,
codes
,
...
)
...
...
@@ -257,8 +259,11 @@ function RushDuel.FusionMaterialFilter(c, filter, e)
end
-- 融合效果 - 融合召唤的怪兽过滤
function
RushDuel
.
FusionSpecialSummonFilter
(
c
,
e
,
tp
,
m
,
f
,
gc
,
chkf
,
filter
)
return
c
:
IsType
(
TYPE_FUSION
)
and
(
not
filter
or
filter
(
c
,
e
,
tp
,
m
,
f
,
chkf
))
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
gc
,
chkf
)
RushDuel
.
CurrentFusionEffect
=
e
local
res
=
c
:
IsType
(
TYPE_FUSION
)
and
(
not
filter
or
filter
(
c
,
e
,
tp
,
m
,
f
,
chkf
))
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
gc
,
chkf
)
RushDuel
.
CurrentFusionEffect
=
nil
return
res
end
-- 融合效果 - 确认素材过滤
function
RushDuel
.
ConfirmCardFilter
(
c
)
...
...
@@ -328,7 +333,9 @@ function RushDuel.ExecuteFusionSummon(e, tp, list, chkf, gc, mat_move)
data
=
aux
.
SelectFromOptions
(
tp
,
table.unpack
(
options
))
end
local
ce
,
mg
=
data
[
1
],
data
[
2
]
RushDuel
.
CurrentFusionEffect
=
e
local
mat
=
Duel
.
SelectFusionMaterial
(
tp
,
fc
,
mg
,
gc
,
chkf
)
RushDuel
.
CurrentFusionEffect
=
nil
if
#
mat
<
2
then
goto
cancel
end
...
...
script/c120247033.lua
View file @
0aac38e5
...
...
@@ -21,7 +21,7 @@ function cm.spfilter(c)
return
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsAbleToDeck
()
return
c
:
Is
CanBeFusionMaterial
()
and
c
:
Is
AbleToDeck
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_GRAVE
,
0
,
5
,
nil
)
...
...
script/c120253003.lua
View file @
0aac38e5
...
...
@@ -20,6 +20,6 @@ function cm.spfilter(c)
end
function
cm
.
costfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_GALAXY
)
and
c
:
IsAbleToGraveAsCost
()
and
RD
.
IsCanFusionSummon
(
e
,
tp
,
cm
.
matfilter
,
cm
.
spfilter
,
nil
,
0
,
0
,
nil
,
true
,
c
)
and
RD
.
IsCanFusionSummon
(
e
,
tp
,
cm
.
matfilter
,
cm
.
spfilter
,
nil
,
0
,
0
,
nil
,
true
,
false
,
c
)
end
cm
.
cost
=
RD
.
CostSendMZoneToGrave
(
cm
.
costfilter
,
1
,
1
,
true
)
\ No newline at end of file
script/c120277007.lua
View file @
0aac38e5
...
...
@@ -31,17 +31,19 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
ac
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
c
:
SetHint
(
CHINT_CARD
,
ac
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_FUSION_CODE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
Set
Label
(
ac
)
e1
:
SetValue
(
cm
.
value
)
e1
:
Set
Condition
(
cm
.
fucon
)
e1
:
SetValue
(
ac
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
value
(
e
,
c
)
return
e
:
GetLabel
()
function
cm
.
fucon
(
e
)
local
fe
=
RD
.
CurrentFusionEffect
return
fe
and
fe
:
GetHandler
():
IsCode
(
list
[
1
])
end
\ No newline at end of file
script/c120277065.lua
0 → 100644
View file @
0aac38e5
local
m
=
120277065
local
list
=
{
120263005
,
120263008
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"元素英雄 涡流翼侠"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
list
[
1
],
list
[
2
])
--Only Fusion Summon
RD
.
OnlyFusionSummon
(
c
)
--Fusion Summon
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_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
c
:
RegisterEffect
(
e1
)
end
--Fusion Summon
function
cm
.
matfilter
(
c
)
return
false
end
function
cm
.
spfilter
(
c
)
return
c
:
IsHasEffect
(
EFFECT_ONLY_FUSION_SUMMON
)
and
c
:
IsLevel
(
6
,
7
,
8
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeck
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
RD
.
IsSpecialSummonTurn
(
e
:
GetHandler
())
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