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
5fb2225d
Commit
5fb2225d
authored
Mar 13, 2021
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021/3/13 新增:袭来的自然,更新翻译,添加Category兼容冥神与屋敷童
parent
d4e2676d
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
68 additions
and
26 deletions
+68
-26
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120109005.lua
script/c120109005.lua
+1
-1
script/c120110011.lua
script/c120110011.lua
+1
-1
script/c120120049.lua
script/c120120049.lua
+1
-1
script/c120130023.lua
script/c120130023.lua
+1
-1
script/c120140014.lua
script/c120140014.lua
+1
-1
script/c120145014.lua
script/c120145014.lua
+1
-1
script/c120145024.lua
script/c120145024.lua
+1
-1
script/c120150006.lua
script/c120150006.lua
+4
-2
script/c120155018.lua
script/c120155018.lua
+1
-1
script/c120155051.lua
script/c120155051.lua
+1
-1
script/c120155052.lua
script/c120155052.lua
+1
-1
script/c120170000.lua
script/c120170000.lua
+1
-1
script/c120170018.lua
script/c120170018.lua
+2
-2
script/c120170019.lua
script/c120170019.lua
+1
-1
script/c120170024.lua
script/c120170024.lua
+5
-2
script/c120170039.lua
script/c120170039.lua
+1
-1
script/c120170040.lua
script/c120170040.lua
+1
-1
script/c120170042.lua
script/c120170042.lua
+1
-1
script/c120170051.lua
script/c120170051.lua
+37
-0
script/c120170053.lua
script/c120170053.lua
+2
-2
script/c120170203.lua
script/c120170203.lua
+1
-1
script/c120175001.lua
script/c120175001.lua
+1
-1
script/c120175002.lua
script/c120175002.lua
+1
-1
No files found.
RD Patch.cdb
View file @
5fb2225d
No preview for this file type
script/c120109005.lua
View file @
5fb2225d
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--Position
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120110011.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="龙力重压"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCost
(
cm
.
cost
)
...
...
script/c120120049.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="暴虐的报应"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
DESTROY
)
e1
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120130023.lua
View file @
5fb2225d
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--Discard Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120140014.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="仙人的神髓"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_POSITION
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120145014.lua
View file @
5fb2225d
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
--Atk Down
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
...
...
script/c120145024.lua
View file @
5fb2225d
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_TODECK
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_TODECK
+
CATEGORY_DESTROY
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
...
...
script/c120150006.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="沉默学习"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
@@ -27,7 +27,9 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
g
:
GetClassCount
(
Card
.
GetCode
)
>=
3
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWN
)
...
...
script/c120155018.lua
View file @
5fb2225d
...
...
@@ -5,7 +5,7 @@ function cm.initial_effect(c)
--Discard Deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120155051.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="三角重生"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120155052.lua
View file @
5fb2225d
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120170000.lua
View file @
5fb2225d
local
m
=
120170000
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"破坏
之
剑士"
cm
.
name
=
"破坏剑士"
function
cm
.
initial_effect
(
c
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120170018.lua
View file @
5fb2225d
local
m
=
120170018
local
list
=
{
120140038
,
120140039
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
再来一次
人偶"
cm
.
name
=
"
安可
人偶"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
])
--Set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_
LEAVE_GRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_
GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
...
...
script/c120170019.lua
View file @
5fb2225d
local
m
=
120170019
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"可能
-准备
:D"
cm
.
name
=
"可能
甜心女郎-返
:D"
function
cm
.
initial_effect
(
c
)
--To Hand
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120170024.lua
View file @
5fb2225d
local
m
=
120170024
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"王家魔族·死亡厄运"
cm
.
name
=
"王家魔族·死亡厄运
歌手
"
function
cm
.
initial_effect
(
c
)
--Destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,9 +42,12 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
--Tribute
function
cm
.
trifilter
(
c
)
return
c
:
IsLevelAbove
(
7
)
and
c
:
IsRace
(
RACE_FIEND
)
end
function
cm
.
tricheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsLevelAbove
,
2
,
nil
,
7
)
then
if
g
:
IsExists
(
cm
.
trifilter
,
2
,
nil
)
then
e
:
GetLabelObject
():
SetLabel
(
1
)
else
e
:
GetLabelObject
():
SetLabel
(
0
)
...
...
script/c120170039.lua
View file @
5fb2225d
local
m
=
120170039
local
list
=
{
120170002
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
果酱跳:P上升
!"
cm
.
name
=
"
即兴果酱:P跳起
!"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Activate
...
...
script/c120170040.lua
View file @
5fb2225d
local
m
=
120170040
local
list
=
{
120170002
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"
果酱跳:P开始
!"
cm
.
name
=
"
即兴果酱:P激活
!"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Activate
...
...
script/c120170042.lua
View file @
5fb2225d
local
m
=
120170042
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"王家魔族
·现场
竞技场"
cm
.
name
=
"王家魔族
的现场演唱
竞技场"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c120170051.lua
0 → 100644
View file @
5fb2225d
local
m
=
120170051
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_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
end
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
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_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
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_ONFIELD
,
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/c120170053.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="鸟咒战术"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_TODECK
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
@@ -39,7 +39,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
cm
.
tdfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
sp
filter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
td
filter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
sg
,
nil
,
0
,
REASON_EFFECT
)
Duel
.
ConfirmDecktop
(
tp
,
1
)
end
...
...
script/c120170203.lua
View file @
5fb2225d
...
...
@@ -4,7 +4,7 @@ cm.name="花牙舞回"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
cm
.
condition
)
...
...
script/c120175001.lua
View file @
5fb2225d
local
m
=
120175001
local
list
=
{
120105001
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"七星道
巫师
"
cm
.
name
=
"七星道
术士
"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--To Hand
...
...
script/c120175002.lua
View file @
5fb2225d
local
m
=
120175002
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"三
头
龙"
cm
.
name
=
"三
联
龙"
function
cm
.
initial_effect
(
c
)
--Draw
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