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
7e65e272
Commit
7e65e272
authored
Jul 19, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/7/19 新增:念动力新卡
parent
04554f49
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
87 additions
and
1 deletion
+87
-1
RD Patch.cdb
RD Patch.cdb
+0
-0
script/RDFusion.lua
script/RDFusion.lua
+1
-1
script/c120264036.lua
script/c120264036.lua
+2
-0
script/c120264042.lua
script/c120264042.lua
+46
-0
script/c120264052.lua
script/c120264052.lua
+38
-0
No files found.
RD Patch.cdb
View file @
7e65e272
No preview for this file type
script/RDFusion.lua
View file @
7e65e272
...
...
@@ -273,7 +273,7 @@ function RushDuel.GetFusionSummonData(e, tp, matfilter, spfilter, exfilter, s_ra
local
effects
=
{
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CHAIN_MATERIAL
)}
for
_
,
effect
in
ipairs
(
effects
)
do
local
target
=
effect
:
GetTarget
()
local
mg2
=
target
(
effect
,
e
,
tp
)
local
mg2
=
target
(
effect
,
e
,
tp
,
mg
)
if
#
mg2
>
0
then
local
mf
=
effect
:
GetValue
()
local
sg2
=
Duel
.
GetMatchingGroup
(
RushDuel
.
FusionSpecialSummonFilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg2
,
mf
,
gc
,
chkf
,
spfilter
)
...
...
script/c120264036.lua
View file @
7e65e272
...
...
@@ -12,6 +12,8 @@ function cm.initial_effect(c)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
cm
.
target
)
c
:
RegisterEffect
(
e1
)
--Continuous Effect
RD
.
AddContinuousEffect
(
c
,
e1
)
end
--Pierce
function
cm
.
target
(
e
,
c
)
...
...
script/c120264042.lua
0 → 100644
View file @
7e65e272
local
m
=
120264042
local
list
=
{
120253014
,
120253012
,
120196050
,
120253051
}
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
])
-- Fusion Expend
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CHAIN_MATERIAL
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
e1
:
SetValue
(
cm
.
value
)
c
:
RegisterEffect
(
e1
)
--Continuous Effect
RD
.
AddContinuousEffect
(
c
,
e1
)
end
-- Fusion Expend
function
cm
.
filter
(
c
,
e
)
return
c
:
IsRace
(
RACE_PSYCHO
)
and
c
:
IsAbleToDeck
()
and
c
:
IsCanBeFusionMaterial
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
function
cm
.
target
(
e
,
te
,
tp
,
mg
)
if
te
:
GetHandler
():
IsCode
(
list
[
3
],
list
[
4
])
then
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
te
)
g
:
Merge
(
mg
:
Filter
(
Card
.
IsAbleToDeck
,
nil
))
return
g
else
return
Group
.
CreateGroup
()
end
end
function
cm
.
operation
(
e
,
te
,
tp
,
tc
,
mat
,
sumtype
)
if
mat
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
then
RD
.
FusionToDeck
(
tp
,
mat
)
else
RD
.
FusionToGrave
(
tp
,
mat
)
end
end
function
cm
.
value
(
fc
)
return
fc
:
IsLevelAbove
(
8
)
end
\ No newline at end of file
script/c120264052.lua
0 → 100644
View file @
7e65e272
local
m
=
120264052
local
list
=
{
120196050
,
120253051
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"念力装备返始"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_TODECK
+
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
filter
(
c
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
c
:
IsAbleToDeck
()
end
function
cm
.
thfilter
(
c
)
return
((
c
:
IsAttribute
(
ATTRIBUTE_WIND
)
and
c
:
IsRace
(
RACE_PSYCHO
))
or
c
:
IsCode
(
list
[
1
],
list
[
2
]))
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
2
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
2
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
SendDeckTopToGraveAndExists
(
tp
,
2
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
filter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
function
(
g
)
Duel
.
BreakEffect
()
if
RD
.
SendToDeckTopOrBottom
(
g
,
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
3
))
~=
0
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
4
),
HINTMSG_ATOHAND
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
function
(
sg
)
RD
.
SendToHandAndExists
(
sg
,
1
-
tp
)
end
)
end
end
)
end
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