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
96f89082
Commit
96f89082
authored
Mar 04, 2026
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2026/3/4 新增:手揉小龙,灵术指南书
parent
e4cf3a1a
Pipeline
#43539
passed with stages
in 8 minutes and 10 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
82 additions
and
1 deletion
+82
-1
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120254078.lua
script/c120254078.lua
+1
-1
script/c120301019.lua
script/c120301019.lua
+43
-0
script/c120301067.lua
script/c120301067.lua
+38
-0
No files found.
RD Patch.cdb
View file @
96f89082
No preview for this file type
script/c120254078.lua
View file @
96f89082
local
cm
,
m
=
GetID
()
cm
.
name
=
"王家魔族守护者"
cm
.
name
=
"王家魔族
·
守护者"
function
cm
.
initial_effect
(
c
)
--Extra Tribute
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120301019.lua
0 → 100644
View file @
96f89082
local
cm
,
m
=
GetID
()
local
list
=
{
120301019
}
cm
.
name
=
"灵术指南书"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
filter
(
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAttack
(
c
,
500
,
1900
)
and
RD
.
IsDefense
(
c
,
1500
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
RD
.
IsPlayerNoActivateInThisTurn
(
tp
,
list
[
1
])
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
5
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
5
)
local
ct
=
Duel
.
GetDecktopGroup
(
tp
,
5
):
FilterCount
(
cm
.
filter
,
nil
)
if
ct
>
1
then
local
max
=
math.floor
(
ct
/
2
)
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_DESTROY
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
max
,
nil
,
function
(
g
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
==
2
then
RD
.
CreateHintEffect
(
e
,
aux
.
Stringid
(
m
,
2
),
tp
,
1
,
0
,
RESET_PHASE
+
PHASE_END
)
RD
.
CreateOnlySoleDirectAttackEffect
(
e
,
20301019
,
tp
,
LOCATION_MZONE
,
0
,
RESET_PHASE
+
PHASE_END
)
end
end
)
end
if
ct
>
0
then
Duel
.
SortDecktop
(
tp
,
tp
,
5
)
RD
.
SendDeckTopToBottom
(
tp
,
5
)
end
end
\ No newline at end of file
script/c120301067.lua
0 → 100644
View file @
96f89082
local
cm
,
m
=
GetID
()
cm
.
name
=
"手揉小龙"
function
cm
.
initial_effect
(
c
)
--Confirm
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_RECOVER
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Confirm
cm
.
cost
=
RD
.
CostChangeSelfPosition
(
POS_FACEUP_ATTACK
,
POS_FACEUP_DEFENSE
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
1
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
1
-
tp
,
100
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
Recover
(
1
-
tp
,
100
,
REASON_EFFECT
)
~=
0
then
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
if
g
:
GetCount
()
==
0
then
return
end
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsRace
(
RACE_DRAGON
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
RD
.
IsCanBeSpecialSummoned
(
tc
,
e
,
tp
,
POS_FACEUP
)
and
Duel
.
SelectEffectYesNo
(
tp
,
tc
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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