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
4
Issues
4
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
5697af5e
Commit
5697af5e
authored
Oct 27, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/10/27 新增:KP19新卡
parent
279880d9
Pipeline
#30745
passed with stages
in 13 minutes and 14 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
2 deletions
+81
-2
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120205026.lua
script/c120205026.lua
+2
-2
script/c120272025.lua
script/c120272025.lua
+37
-0
script/c120272043.lua
script/c120272043.lua
+42
-0
No files found.
RD Patch.cdb
View file @
5697af5e
No preview for this file type
script/c120205026.lua
View file @
5697af5e
...
...
@@ -19,8 +19,8 @@ function cm.exfilter(c)
end
cm
.
cost
=
RD
.
CostSendDeckTopToGrave
(
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleTo
Grave
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleTo
Grave
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleTo
Deck
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleTo
Deck
,
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
)
...
...
script/c120272025.lua
0 → 100644
View file @
5697af5e
local
m
=
120272025
local
list
=
{
120205026
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"舞蹈惠雷之精灵"
function
cm
.
initial_effect
(
c
)
--Change Code
RD
.
EnableChangeCode
(
c
,
list
[
1
],
LOCATION_GRAVE
)
--To Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_GRAVE_ACTION
+
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--To Deck
function
cm
.
check
(
g
)
return
g
:
GetClassCount
(
Card
.
GetControler
)
==
g
:
GetCount
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
RD
.
IsSummonTurn
(
e
:
GetHandler
())
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
9
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetControler
)
==
2
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
2
,
0
,
0
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectGroupAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
Card
.
IsAbleToDeck
),
cm
.
check
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
2
,
2
,
nil
,
function
(
g
)
if
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_GRAVE
)
<=
5
then
RD
.
CanDraw
(
aux
.
Stringid
(
m
,
1
),
tp
,
1
,
true
)
end
end
)
end
\ No newline at end of file
script/c120272043.lua
0 → 100644
View file @
5697af5e
local
m
=
120272043
local
list
=
{
120227001
,
120264001
}
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
])
--Contact Fusion
RD
.
EnableContactFusion
(
c
,
aux
.
Stringid
(
m
,
0
))
--Indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
indcon
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
--Atk Up
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
cm
.
atkval
)
c
:
RegisterEffect
(
e2
)
--Continuous Effect
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
)
end
--Indes
function
cm
.
indcon
(
e
)
return
e
:
GetHandler
():
IsAttackPos
()
end
--Atk Up
function
cm
.
atkval
(
e
,
c
)
local
atk
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsFacedown
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
*
1000
if
RD
.
IsLPBelow
(
e
:
GetHandlerPlayer
(),
2500
)
then
atk
=
atk
+
2500
end
return
atk
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