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
5773a8a4
Commit
5773a8a4
authored
Dec 02, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/12/2 新增:暗银河新卡,修复bug
parent
d8b4baee
Pipeline
#24228
passed with stages
in 14 minutes and 27 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
5 deletions
+71
-5
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120228017.lua
script/c120228017.lua
+2
-2
script/c120249025.lua
script/c120249025.lua
+3
-2
script/c120254019.lua
script/c120254019.lua
+45
-0
script/c120254053.lua
script/c120254053.lua
+1
-1
script/c120254085.lua
script/c120254085.lua
+20
-0
No files found.
RD Patch.cdb
View file @
5773a8a4
No preview for this file type
script/c120228017.lua
View file @
5773a8a4
...
...
@@ -2,7 +2,7 @@ local m=120228017
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"混沌战士运动服士 –干燥的使者–"
function
cm
.
initial_effect
(
c
)
--To
Hand
--To
Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
)
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--To
Hand
--To
Deck
function
cm
.
costfilter
(
c
)
return
RD
.
IsDefense
(
c
,
500
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
...
...
script/c120249025.lua
View file @
5773a8a4
...
...
@@ -28,8 +28,9 @@ function cm.thfilter(c)
end
cm
.
cost
=
RD
.
CostSendHandToGrave
(
cm
.
costfilter
,
1
,
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
3
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
tp
,
3
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
tdfilter
),
tp
,
0
,
LOCATION_GRAVE
,
1
,
3
,
nil
,
function
(
g
)
...
...
script/c120254019.lua
0 → 100644
View file @
5773a8a4
local
m
=
120254019
local
list
=
{
120222025
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"虚空噬骸兵·混沌鹰巨人"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
aux
.
AddFusionProcCodeFun
(
c
,
list
[
1
],
cm
.
matfilter
,
1
,
true
,
true
)
--To Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
)
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
--Fusion Material
cm
.
unspecified_funsion
=
true
function
cm
.
matfilter
(
c
)
return
c
:
IsLevelAbove
(
8
)
and
c
:
IsFusionAttribute
(
ATTRIBUTE_DARK
)
end
--To Deck
function
cm
.
costfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToDeck
()
end
function
cm
.
costcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRace
)
==
g
:
GetCount
()
end
cm
.
cost
=
RD
.
CostSendGraveSubToDeck
(
cm
.
costfilter
,
cm
.
costcheck
,
2
,
2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
HINTMSG_TODECK
,
cm
.
tdfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
2
,
nil
,
function
(
g
)
RD
.
SendToDeckAndExists
(
g
)
end
)
end
\ No newline at end of file
script/c120254053.lua
View file @
5773a8a4
...
...
@@ -20,7 +20,7 @@ function cm.atkfilter(c)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
ct
)
end
if
chk
==
0
then
return
ct
>
0
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
ct
)
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
ct
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
PLAYER_ALL
,
ct
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c120254085.lua
0 → 100644
View file @
5773a8a4
local
m
=
120254085
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"虚空噬骸兵启明星棒"
function
cm
.
initial_effect
(
c
)
--Activate
RD
.
RegisterEquipEffect
(
c
,
cm
.
condition
,
nil
,
cm
.
target
)
--Double Attack
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
function
cm
.
target
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_GALAXY
)
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