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
40719e1c
Commit
40719e1c
authored
Oct 13, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/10/13 将已发售的卡移至正式卡,更新翻译
parent
4a4c3db7
Pipeline
#30396
passed with stages
in 14 minutes and 15 seconds
Changes
12
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
100 additions
and
10 deletions
+100
-10
RD Patch.cdb
RD Patch.cdb
+0
-0
RD Standard.cdb
RD Standard.cdb
+0
-0
script/c120271010.lua
script/c120271010.lua
+1
-1
script/c120271027.lua
script/c120271027.lua
+1
-1
script/c120271028.lua
script/c120271028.lua
+1
-1
script/c120271029.lua
script/c120271029.lua
+1
-1
script/c120271037.lua
script/c120271037.lua
+1
-1
script/c120271046.lua
script/c120271046.lua
+3
-3
script/c120271052.lua
script/c120271052.lua
+1
-1
script/c120271053.lua
script/c120271053.lua
+1
-1
script/c120271072.lua
script/c120271072.lua
+36
-0
script/c120272056.lua
script/c120272056.lua
+54
-0
No files found.
RD Patch.cdb
View file @
40719e1c
No preview for this file type
RD Standard.cdb
View file @
40719e1c
No preview for this file type
script/c120271010.lua
View file @
40719e1c
local
m
=
120271010
local
m
=
120271010
local
list
=
{
120271014
}
local
list
=
{
120271014
}
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"古代的机械
补
给兵"
cm
.
name
=
"古代的机械给兵"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
RD
.
AddCodeList
(
c
,
list
)
--Destroy
--Destroy
...
...
script/c120271027.lua
View file @
40719e1c
local
m
=
120271027
local
m
=
120271027
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"邪
心球师
"
cm
.
name
=
"邪
恶耍球人
"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Change Race
--Change Race
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120271028.lua
View file @
40719e1c
local
m
=
120271028
local
m
=
120271028
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"幻想
面具
大师"
cm
.
name
=
"幻想
假面
大师"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Change Code
--Change Code
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120271029.lua
View file @
40719e1c
local
m
=
120271029
local
m
=
120271029
local
list
=
{
120196006
,
120196050
}
local
list
=
{
120196006
,
120196050
}
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"虚钢
领
演机"
cm
.
name
=
"虚钢
主
演机"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
RD
.
AddCodeList
(
c
,
list
)
--Change Code
--Change Code
...
...
script/c120271037.lua
View file @
40719e1c
local
m
=
120271037
local
m
=
120271037
local
list
=
{
120196050
}
local
list
=
{
120196050
}
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"虚钢演机
明星
"
cm
.
name
=
"虚钢演机
名优
"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
RD
.
AddCodeList
(
c
,
list
)
--Activate
--Activate
...
...
script/c120271046.lua
View file @
40719e1c
...
@@ -27,12 +27,12 @@ function cm.spfilter(c,e,tp)
...
@@ -27,12 +27,12 @@ function cm.spfilter(c,e,tp)
end
end
cm
.
cost
=
RD
.
CostShowHand
(
cm
.
costfilter
,
1
,
1
)
cm
.
cost
=
RD
.
CostShowHand
(
cm
.
costfilter
,
1
,
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
,
2
,
nil
)
end
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
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
tdfilter
),
tp
,
0
,
LOCATION_GRAVE
,
2
,
2
,
nil
,
function
(
g
)
RD
.
SelectAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
tdfilter
),
tp
,
0
,
LOCATION_GRAVE
,
1
,
2
,
nil
,
function
(
g
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
RD
.
SendToDeckAndExists
(
g
)
and
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsRelateToEffect
(
e
)
then
if
RD
.
SendToDeckAndExists
(
g
)
and
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsRelateToEffect
(
e
)
then
RD
.
CanSelectAndSpecialSummon
(
aux
.
Stringid
(
m
,
1
),
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
POS_FACEUP_DEFENSE
)
RD
.
CanSelectAndSpecialSummon
(
aux
.
Stringid
(
m
,
1
),
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
POS_FACEUP_DEFENSE
)
...
...
script/c120271052.lua
View file @
40719e1c
local
m
=
120271052
local
m
=
120271052
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"传
承
的一闪"
cm
.
name
=
"传
继
的一闪"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120271053.lua
View file @
40719e1c
local
m
=
120271053
local
m
=
120271053
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"传说
的徽章
"
cm
.
name
=
"传说
之徽
"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120271072.lua
0 → 100644
View file @
40719e1c
local
m
=
120271072
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"傲慢之壶"
function
cm
.
initial_effect
(
c
)
Duel
.
AddCustomActivityCounter
(
m
,
ACTIVITY_CHAIN
,
cm
.
chainfilter
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
chainfilter
(
re
,
tp
,
cid
)
return
not
(
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
))
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
end
RD
.
TargetDraw
(
tp
,
2
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
Draw
()
if
Duel
.
GetFlagEffect
(
tp
,
m
)
~=
0
then
return
end
RD
.
CreateCannotActivateEffect
(
e
,
aux
.
Stringid
(
m
,
1
),
cm
.
aclimit
,
tp
,
1
,
0
,
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
end
\ No newline at end of file
script/c120272056.lua
0 → 100644
View file @
40719e1c
local
m
=
120272056
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"昂光的咒缚"
function
cm
.
initial_effect
(
c
)
Duel
.
AddCustomActivityCounter
(
m
,
ACTIVITY_CHAIN
,
cm
.
chainfilter
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_DRAW
)
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
.
chainfilter
(
re
,
tp
,
cid
)
return
not
(
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_TRAP
))
end
function
cm
.
filter
(
c
)
return
RD
.
IsCanChangePosition
(
c
)
and
(
not
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
or
c
:
IsCanTurnSet
())
end
function
cm
.
excon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCustomActivityCount
(
m
,
1
-
tp
,
ACTIVITY_CHAIN
)
==
1
or
Duel
.
GetTurnCount
()
==
2
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
<=
1
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ex
=
cm
.
excon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
(
not
ex
or
(
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
2
)))
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
1
,
0
,
0
)
if
ex
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
PLAYER_ALL
,
2
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
HINTMSG_POSCHANGE
,
cm
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
function
(
g
)
local
tc
=
g
:
GetFirst
()
local
pos
=
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
if
tc
:
IsPosition
(
POS_FACEUP_ATTACK
)
then
pos
=
POS_FACEDOWN_DEFENSE
elseif
tc
:
IsFacedown
()
or
not
tc
:
IsCanTurnSet
()
then
pos
=
POS_FACEUP_ATTACK
end
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
pos
)
if
RD
.
ChangePosition
(
tc
,
pos
)
~=
0
and
cm
.
excon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
then
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
Draw
(
1
-
tp
,
2
,
REASON_EFFECT
)
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