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
fe4571db
Commit
fe4571db
authored
Aug 18, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/8/18 新增:ECG1新卡,修改通常召唤手续
parent
faf73b05
Pipeline
#23197
passed with stages
in 7 minutes and 28 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
2 deletions
+59
-2
RD Patch.cdb
RD Patch.cdb
+0
-0
script/RDBase.lua
script/RDBase.lua
+6
-2
script/c120254003.lua
script/c120254003.lua
+38
-0
script/c120254005.lua
script/c120254005.lua
+15
-0
No files found.
RD Patch.cdb
View file @
fe4571db
No preview for this file type
script/RDBase.lua
View file @
fe4571db
...
...
@@ -315,8 +315,12 @@ function RushDuel.AddSummonProcedure(card, desc, condition, operation, value)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCondition
(
condition
)
e1
:
SetOperation
(
operation
)
e1
:
SetValue
(
value
)
if
operation
~=
nil
then
e1
:
SetOperation
(
operation
)
end
if
value
~=
nil
then
e1
:
SetValue
(
value
)
end
card
:
RegisterEffect
(
e1
)
return
e1
end
...
...
script/c120254003.lua
0 → 100644
View file @
fe4571db
local
m
=
120254003
local
list
=
{
120247002
,
120207007
,
120247016
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"鹰身小天使"
function
cm
.
initial_effect
(
c
)
--Discard Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
+
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
--Discard Deck
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
list
[
1
])
and
c
:
IsAbleToHandAsCost
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
end
function
cm
.
thfilter
(
c
)
return
c
:
IsCode
(
list
[
3
])
and
c
:
IsAbleToHand
()
end
cm
.
cost
=
RD
.
CostSendMZoneToHand
(
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
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
SendDeckTopToGraveAndExists
(
tp
,
3
,
cm
.
exfilter
,
1
,
nil
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_ATOHAND
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
function
(
g
)
RD
.
SendToHandAndExists
(
g
,
1
-
tp
)
end
)
end
end
\ No newline at end of file
script/c120254005.lua
0 → 100644
View file @
fe4571db
local
m
=
120254005
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"疾风之暗黑骑士 盖亚"
function
cm
.
initial_effect
(
c
)
--Summon Procedure
RD
.
AddSummonProcedure
(
c
,
aux
.
Stringid
(
m
,
0
),
cm
.
sumcon
)
end
--Summon Procedure
function
cm
.
sumcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
minc
==
0
and
c
:
IsLevelAbove
(
5
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
==
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
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