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
939e2748
Commit
939e2748
authored
Aug 17, 2020
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020/8/17 新增:一同礼状,更新卡名翻译
parent
c90c2786
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
2 deletions
+47
-2
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120140013.lua
script/c120140013.lua
+45
-0
script/c120140029.lua
script/c120140029.lua
+1
-1
script/c120140040.lua
script/c120140040.lua
+1
-1
No files found.
RD Patch.cdb
View file @
939e2748
No preview for this file type
script/c120140013.lua
0 → 100644
View file @
939e2748
local
m
=
120140013
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"一同礼状"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_POSITION
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
end
function
cm
.
confilter2
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
end
function
cm
.
posfilter
(
c
)
return
c
:
IsAttackPos
()
and
c
:
IsCanChangePosition
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter1
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
)
and
eg
:
IsExists
(
cm
.
confilter2
,
1
,
nil
,
1
-
tp
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
1
,
0
,
0
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
posfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
sg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
ChangePosition
(
sg
,
POS_FACEUP_DEFENSE
)
end
end
\ No newline at end of file
script/c120140029.lua
View file @
939e2748
local
m
=
120140029
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
浆果姐姐
"
cm
.
name
=
"
极致贝司手
"
function
cm
.
initial_effect
(
c
)
--Special Summon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120140040.lua
View file @
939e2748
local
m
=
120140040
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