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
f0f55d8f
Commit
f0f55d8f
authored
Apr 25, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/4/25 新增:暗银河新卡
parent
6a21b830
Pipeline
#21368
passed with stages
in 6 minutes and 24 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
131 additions
and
2 deletions
+131
-2
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120239026.lua
script/c120239026.lua
+4
-2
script/c120244006.lua
script/c120244006.lua
+40
-0
script/c120244007.lua
script/c120244007.lua
+44
-0
script/c120244064.lua
script/c120244064.lua
+43
-0
No files found.
RD Patch.cdb
View file @
f0f55d8f
No preview for this file type
script/c120239026.lua
View file @
f0f55d8f
...
...
@@ -18,7 +18,7 @@ function cm.costfilter(c)
return
c
:
IsType
(
TYPE_MAXIMUM
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsFaceup
()
and
RD
.
IsMaximumMode
(
c
)
and
RD
.
IsCanAttachPierce
(
c
)
return
c
:
IsFaceup
()
and
RD
.
IsMaximumMode
(
c
)
and
c
:
GetFlagEffect
(
20239026
)
==
0
end
cm
.
cost
=
RD
.
CostSendGraveToDeck
(
cm
.
costfilter
,
2
,
2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -29,7 +29,9 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
RD
.
Draw
()
~=
0
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
aux
.
Stringid
(
m
,
2
),
cm
.
exfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
function
(
g
)
Duel
.
BreakEffect
()
RD
.
AttachPierce
(
e
,
g
:
GetFirst
(),
aux
.
Stringid
(
m
,
3
),
RESET_EVENT
+
RESETS_STANDARD
)
local
tc
=
g
:
GetFirst
()
RD
.
AttachPierce
(
e
,
tc
,
aux
.
Stringid
(
m
,
3
),
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterFlagEffect
(
20239026
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
)
end
end
\ No newline at end of file
script/c120244006.lua
0 → 100644
View file @
f0f55d8f
local
m
=
120244006
local
list
=
{
120222025
,
120244008
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"虚空噬骸兵·姬莉叶"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--To Hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--To Hand
cm
.
indval
=
RD
.
ValueEffectIndesType
(
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
,
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
)
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
7
)
and
c
:
IsRace
(
RACE_GALAXY
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
thfilter
(
c
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
c
:
IsAbleToHand
()
end
cm
.
cost
=
RD
.
CostSendMZoneToGrave
(
cm
.
costfilter
,
1
,
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
HINTMSG_ATOHAND
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
function
(
g
)
if
RD
.
SendToHandAndExists
(
g
,
1
-
tp
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_FACEUP
,
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
function
(
sg
)
Duel
.
BreakEffect
()
RD
.
AttachEffectIndes
(
e
,
sg
:
GetFirst
(),
cm
.
indval
,
aux
.
Stringid
(
m
,
2
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
end
)
end
end
)
end
\ No newline at end of file
script/c120244007.lua
0 → 100644
View file @
f0f55d8f
local
m
=
120244007
local
list
=
{
120196050
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"虚空噬骸兵·后勤兵"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Set
function
cm
.
costfilter
(
c
,
e
,
tp
)
return
not
c
:
IsPublic
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsRace
(
RACE_GALAXY
)
end
function
cm
.
setfilter
(
c
)
return
c
:
IsCode
(
list
[
1
])
and
c
:
IsSSetable
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsLevel
(
8
)
and
c
:
IsRace
(
RACE_GALAXY
)
and
c
:
IsAbleToHand
()
end
cm
.
cost
=
RD
.
CostShowHand
(
cm
.
costfilter
,
1
,
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
SelectAndSet
(
aux
.
NecroValleyFilter
(
cm
.
setfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_ATOHAND
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
function
(
sg
)
RD
.
SendToHandAndExists
(
sg
,
1
-
tp
)
end
)
end
end
\ No newline at end of file
script/c120244064.lua
0 → 100644
View file @
f0f55d8f
local
m
=
120244064
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"相伴的思念"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
cm
.
indval
=
RD
.
ValueEffectIndesType
(
0
,
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
)
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
end
function
cm
.
costfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsAbleToDeckAsCost
()
end
function
cm
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
confilter
,
1
,
nil
,
1
-
tp
)
end
cm
.
cost
=
RD
.
CostSendGraveToDeck
(
cm
.
costfilter
,
2
,
2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
SetTargetCard
(
eg
:
GetFirst
())
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
eg
:
GetFirst
()
if
not
ec
:
IsRelateToEffect
(
e
)
then
return
end
RD
.
SelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
function
(
g
)
local
tc
=
g
:
GetFirst
()
RD
.
AttachAtkDef
(
e
,
tc
,
ec
:
GetAttack
(),
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
RD
.
AttachEffectIndes
(
e
,
tc
,
cm
.
indval
,
aux
.
Stringid
(
m
,
2
),
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_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