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
f827f13c
Commit
f827f13c
authored
Oct 07, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/10/7 新增:接合科技盗龙,更新翻译,修改装备逻辑(已装备怪兽不符合装备条件,装备依旧有效)
parent
7ee07b26
Pipeline
#17084
passed with stages
in 4 minutes and 45 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
7 deletions
+54
-7
RD Patch.cdb
RD Patch.cdb
+0
-0
RD Standard.cdb
RD Standard.cdb
+0
-0
script/RDEquip.lua
script/RDEquip.lua
+1
-1
script/c120109021.lua
script/c120109021.lua
+48
-0
script/c120228017.lua
script/c120228017.lua
+1
-1
script/c120228031.lua
script/c120228031.lua
+1
-1
script/c120228058.lua
script/c120228058.lua
+2
-3
script/c120228063.lua
script/c120228063.lua
+1
-1
No files found.
RD Patch.cdb
View file @
f827f13c
No preview for this file type
RD Standard.cdb
View file @
f827f13c
No preview for this file type
script/RDEquip.lua
View file @
f827f13c
...
@@ -48,6 +48,6 @@ function RushDuel.EquipOperation(target)
...
@@ -48,6 +48,6 @@ function RushDuel.EquipOperation(target)
end
end
function
RushDuel
.
EquipFilter
(
target
)
function
RushDuel
.
EquipFilter
(
target
)
return
function
(
e
,
c
)
return
function
(
e
,
c
)
return
target
(
c
,
e
,
e
:
GetHandlerPlayer
(),
false
)
return
e
:
GetHandler
():
GetEquipTarget
()
==
c
or
target
(
c
,
e
,
e
:
GetHandlerPlayer
(),
false
)
end
end
end
end
script/c120109021.lua
0 → 100644
View file @
f827f13c
local
m
=
120109021
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_DAMAGE
+
CATEGORY_POSITION
)
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
--Discard Deck
function
cm
.
ctfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EQUIP
)
end
function
cm
.
posfilter
(
c
)
return
c
:
IsAttackPos
()
and
RD
.
IsCanChangePosition
(
c
)
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
.
IsPlayerCanDiscardDeck
(
tp
,
2
)
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
2
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DECKDES
,
nil
,
0
,
PLAYER_ALL
,
2
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
GetDecktopGroup
(
tp
,
2
)
local
g2
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
2
)
g1
:
Merge
(
g2
)
Duel
.
DisableShuffleCheck
()
if
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
==
0
then
return
end
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
cm
.
ctfilter
,
nil
)
if
ct
==
0
then
return
end
if
Duel
.
Damage
(
1
-
tp
,
ct
*
100
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_POSCHANGE
,
cm
.
posfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
function
(
sg
)
RD
.
ChangePosition
(
sg
,
POS_FACEUP_DEFENSE
)
end
)
end
end
\ No newline at end of file
script/c120228017.lua
View file @
f827f13c
local
m
=
120228017
local
m
=
120228017
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"混沌战士运动服士
-干燥的使者-
"
cm
.
name
=
"混沌战士运动服士
–干燥的使者–
"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--To Hand
--To Hand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120228031.lua
View file @
f827f13c
local
m
=
120228031
local
m
=
120228031
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
财宝兔矮人
"
cm
.
name
=
"
拾金而昧侏儒兔
"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Discard Deck
--Discard Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120228058.lua
View file @
f827f13c
local
m
=
120228058
local
m
=
120228058
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
RD
.
RegisterEquipEffect
(
c
,
nil
,
nil
,
cm
.
target
)
RD
.
RegisterEquipEffect
(
c
,
nil
,
nil
,
cm
.
target
)
...
@@ -20,6 +20,5 @@ end
...
@@ -20,6 +20,5 @@ end
--Activate
--Activate
cm
.
trival
=
RD
.
ValueDoubleTribute
(
ATTRIBUTE_ALL
,
RACE_ALL
)
cm
.
trival
=
RD
.
ValueDoubleTribute
(
ATTRIBUTE_ALL
,
RACE_ALL
)
function
cm
.
target
(
c
,
e
,
tp
,
chk
)
function
cm
.
target
(
c
,
e
,
tp
,
chk
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsAttackBelow
(
1400
)
and
(
e
:
GetHandler
():
GetEquipTarget
()
==
c
or
c
:
IsAttackBelow
(
1400
))
end
end
\ No newline at end of file
script/c120228063.lua
View file @
f827f13c
local
m
=
120228063
local
m
=
120228063
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
)
...
...
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