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
9f563d65
Commit
9f563d65
authored
Nov 02, 2020
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020/11/2 新增:背误射击,更新翻译
parent
f2dcbb16
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
4 deletions
+42
-4
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120145060.lua
script/c120145060.lua
+38
-0
script/c120150021.lua
script/c120150021.lua
+1
-1
script/c120150022.lua
script/c120150022.lua
+1
-1
script/c120150023.lua
script/c120150023.lua
+1
-1
script/c120150024.lua
script/c120150024.lua
+1
-1
No files found.
RD Patch.cdb
View file @
9f563d65
No preview for this file type
script/c120145060.lua
0 → 100644
View file @
9f563d65
local
m
=
120145060
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"背误射击"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_SPELL
+
TYPE_TRAP
)
~=
0
end
function
cm
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsLevelBelow
(
6
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
confilter
,
1
,
nil
,
tp
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c120150021.lua
View file @
9f563d65
local
m
=
120150021
local
list
=
{
120150024
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"清洁贝雷帽
拖把大佐"
cm
.
name
=
"清洁贝雷帽
·
拖把大佐"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Draw
...
...
script/c120150022.lua
View file @
9f563d65
local
m
=
120150022
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"洗净的圣
诞克罗斯
"
cm
.
name
=
"洗净的圣
布老人
"
function
cm
.
initial_effect
(
c
)
--Draw & Recover
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120150023.lua
View file @
9f563d65
local
m
=
120150023
local
list
=
{
120150024
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"洗铳士
水
射手"
cm
.
name
=
"洗铳士
洗涤
射手"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Draw
...
...
script/c120150024.lua
View file @
9f563d65
local
m
=
120150024
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"白激
炮 - 漂白马达
"
cm
.
name
=
"白激
泡-漂白剂迫击炮
"
function
cm
.
initial_effect
(
c
)
--Activate
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