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
0
Issues
0
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
354dc519
You need to sign in or sign up before continuing.
Commit
354dc519
authored
Dec 29, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/12/29 新增:秘密行销魔术,更新翻译
parent
d258c13d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
3 deletions
+36
-3
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120235042.lua
script/c120235042.lua
+33
-0
script/c120235045.lua
script/c120235045.lua
+1
-1
script/c120235047.lua
script/c120235047.lua
+1
-1
script/c120235053.lua
script/c120235053.lua
+1
-1
No files found.
RD Patch.cdb
View file @
354dc519
No preview for this file type
script/c120235042.lua
0 → 100644
View file @
354dc519
local
m
=
120235042
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"秘密行销魔术"
function
cm
.
initial_effect
(
c
)
--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
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
costfilter
(
c
,
e
,
tp
)
if
not
c
:
IsAbleToGraveAsCost
()
then
return
false
end
if
RD
.
IsLPBelow
(
tp
,
1000
)
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
or
not
c
:
IsType
(
TYPE_SPELL
)
end
return
true
end
cm
.
cost
=
RD
.
CostSendHandToGrave
(
cm
.
costfilter
,
1
,
1
,
nil
,
nil
,
function
(
g
)
return
g
:
GetFirst
():
GetType
()
end
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
RD
.
TargetDraw
(
tp
,
1
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
Draw
()
~=
0
and
e
:
GetLabel
()
&
TYPE_SPELL
==
TYPE_SPELL
and
RD
.
IsLPBelow
(
tp
,
1000
)
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c120235045.lua
View file @
354dc519
local
m
=
120235045
local
list
=
{
120105001
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"大道武器-
剑破坏者
"
cm
.
name
=
"大道武器-
破刃剑
"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Activate
...
...
script/c120235047.lua
View file @
354dc519
local
m
=
120235047
local
list
=
{
120196050
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
BACK TO
THE☆融合术"
cm
.
name
=
"
回到
THE☆融合术"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Activate
...
...
script/c120235053.lua
View file @
354dc519
local
m
=
120235053
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