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
3
Issues
3
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
f9cae4d8
Commit
f9cae4d8
authored
Jan 27, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/1/27 新增:传说之原蛋,更新翻译,修正翻开卡组的bug
parent
a07e8819
Pipeline
#19805
passed with stages
in 5 minutes and 13 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
19 deletions
+49
-19
RD Patch.cdb
RD Patch.cdb
+0
-0
RD Standard.cdb
RD Standard.cdb
+0
-0
script/RDAction.lua
script/RDAction.lua
+4
-4
script/c120170000.lua
script/c120170000.lua
+1
-1
script/c120235018.lua
script/c120235018.lua
+9
-13
script/c120238007.lua
script/c120238007.lua
+1
-1
script/c120238013.lua
script/c120238013.lua
+34
-0
No files found.
RD Patch.cdb
View file @
f9cae4d8
No preview for this file type
RD Standard.cdb
View file @
f9cae4d8
No preview for this file type
script/RDAction.lua
View file @
f9cae4d8
...
...
@@ -280,7 +280,7 @@ function RushDuel.RevealDeckTopAndSelect(player, count, hint, filter, min, max)
local
g
=
Duel
.
GetDecktopGroup
(
player
,
count
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
player
,
hint
)
local
sg
=
g
:
FilterSelect
(
player
,
filter
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
player
,
filter
,
min
,
max
,
nil
)
g
:
Sub
(
sg
)
return
sg
,
g
else
...
...
@@ -288,13 +288,13 @@ function RushDuel.RevealDeckTopAndSelect(player, count, hint, filter, min, max)
end
end
-- 操作: 翻开卡组并可以选择卡
function
RushDuel
.
RevealDeckTopAndCanSelect
(
player
,
count
,
desc
,
hint
,
filter
,
min
,
max
)
function
RushDuel
.
RevealDeckTopAndCanSelect
(
player
,
count
,
desc
,
hint
,
filter
,
min
,
max
,
...
)
Duel
.
ConfirmDecktop
(
player
,
count
)
local
g
=
Duel
.
GetDecktopGroup
(
player
,
count
)
if
g
:
GetCount
()
>
0
then
if
g
:
IsExists
(
filter
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
player
,
desc
)
then
if
g
:
IsExists
(
filter
,
min
,
nil
,
...
)
and
Duel
.
SelectYesNo
(
player
,
desc
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
player
,
hint
)
local
sg
=
g
:
FilterSelect
(
player
,
filter
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
player
,
filter
,
min
,
max
,
nil
,
...
)
g
:
Sub
(
sg
)
return
sg
,
g
else
...
...
script/c120170000.lua
View file @
f9cae4d8
local
m
=
120170000
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"破坏
之
剑士"
cm
.
name
=
"破坏剑士"
function
cm
.
initial_effect
(
c
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120235018.lua
View file @
f9cae4d8
...
...
@@ -15,7 +15,8 @@ function cm.initial_effect(c)
end
--Special Summon
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevel
(
5
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP
)
return
c
:
IsLevel
(
5
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
<=
1
...
...
@@ -25,18 +26,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
3
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
3
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
3
)
if
g
:
GetCount
()
>
0
then
if
Duel
.
GetMZoneCount
(
tp
)
>
0
and
g
:
IsExists
(
cm
.
spfilter
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
FilterSelect
(
tp
,
cm
.
spfilter
,
1
,
1
,
nil
,
e
,
tp
)
g
:
Sub
(
sg
)
Duel
.
DisableShuffleCheck
()
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
local
ct
=
g
:
GetCount
()
local
sg
,
g
=
RD
.
RevealDeckTopAndCanSelect
(
tp
,
3
,
aux
.
Stringid
(
m
,
1
),
HINTMSG_SPSUMMON
,
cm
.
spfilter
,
1
,
1
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
local
ct
=
g
:
GetCount
()
if
ct
>
0
then
Duel
.
SortDecktop
(
tp
,
tp
,
ct
)
RD
.
SendDeckTopToBottom
(
tp
,
ct
)
end
...
...
script/c120238007.lua
View file @
f9cae4d8
local
m
=
120238007
local
list
=
{
120170000
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"传说
之战士-破坏之
剑士"
cm
.
name
=
"传说
的战士-破坏
剑士"
function
cm
.
initial_effect
(
c
)
--Change Code
aux
.
EnableChangeCode
(
c
,
list
[
1
],
LOCATION_GRAVE
)
...
...
script/c120238013.lua
0 → 100644
View file @
f9cae4d8
local
m
=
120238013
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"传说之原蛋"
function
cm
.
initial_effect
(
c
)
--Special Summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
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
--Special Summon
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
RD
.
IsLegend
(
c
)
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
RD
.
IsSummonTurn
(
e
:
GetHandler
())
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
3
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
4
then
return
end
local
sg
,
g
=
RD
.
RevealDeckTopAndCanSelect
(
tp
,
4
,
aux
.
Stringid
(
m
,
1
),
HINTMSG_SPSUMMON
,
cm
.
spfilter
,
1
,
1
,
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
Duel
.
ShuffleDeck
(
tp
)
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