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
6440d8e8
Commit
6440d8e8
authored
Sep 09, 2021
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021/9/9 新增:月轮龙,修复bug
parent
aa883755
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
64 additions
and
8 deletions
+64
-8
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120196023.lua
script/c120196023.lua
+56
-0
script/c120196038.lua
script/c120196038.lua
+2
-2
script/c120196039.lua
script/c120196039.lua
+1
-1
script/c120196043.lua
script/c120196043.lua
+1
-1
script/special.lua
script/special.lua
+4
-4
No files found.
RD Patch.cdb
View file @
6440d8e8
No preview for this file type
script/c120196023.lua
0 → 100644
View file @
6440d8e8
local
m
=
120196023
local
list
=
{
120110004
,
120110008
,
120196050
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"月轮龙 暗影蓝瑟龙F"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
])
--Fusion Material
aux
.
AddFusionProcCode2
(
c
,
list
[
1
],
list
[
2
],
true
,
true
)
--Select Effect
local
e1
=
RushDuel
.
BaseSelectEffect
(
c
,
aux
.
Stringid
(
m
,
1
),
cm
.
eff1con
,
cm
.
eff1op
,
aux
.
Stringid
(
m
,
2
),
cm
.
eff2con
,
cm
.
eff2op
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_TOHAND
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetCost
(
cm
.
cost
)
c
:
RegisterEffect
(
e1
)
end
--Select Effect
function
cm
.
costfilter
(
c
)
return
not
RushDuel
.
IsLegendCode
(
c
,
list
[
3
])
and
c
:
IsAbleToGrave
()
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
--Special Summon
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_HYDRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
function
cm
.
eff1op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetMZoneCount
(
tp
)
<
1
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
--To Hand
function
cm
.
thfilter
(
c
)
return
RushDuel
.
IsLegendCode
(
c
,
list
[
3
])
and
c
:
IsAbleToHand
()
end
function
cm
.
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
cm
.
eff2op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
\ No newline at end of file
script/c120196038.lua
View file @
6440d8e8
local
m
=
120196038
local
list
=
{
120183024
,
120196039
,
120183062
,
120183063
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"漆黑社员王
雄伟
恶德话术大王"
cm
.
name
=
"漆黑社员王
巨
恶德话术大王"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
],
list
[
3
],
list
[
4
])
--Fusion Material
...
...
@@ -21,7 +21,7 @@ end
function
cm
.
filter
(
c
)
return
c
:
IsRace
(
RACE_MACHINE
)
end
function
cm
.
t
h
filter
(
c
)
function
cm
.
t
d
filter
(
c
)
return
c
:
IsCode
(
list
[
3
],
list
[
4
])
and
c
:
IsAbleToDeck
()
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c120196039.lua
View file @
6440d8e8
local
m
=
120196039
local
list
=
{
120183024
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"刷新战士
社员·组织者
"
cm
.
name
=
"刷新战士
社员·组织王
"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Special Summon
...
...
script/c120196043.lua
View file @
6440d8e8
...
...
@@ -20,7 +20,7 @@ function cm.costfilter(c)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsCode
(
list
[
1
])
return
RushDuel
.
IsLegendCode
(
c
,
list
[
1
])
end
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
script/special.lua
View file @
6440d8e8
...
...
@@ -267,18 +267,18 @@ function RushDuel.BaseSelectEffect(c,eff1hint,eff1con,eff1op,eff2hint,eff2con,ef
end
function
RushDuel
.
SelectEffectCondition
(
eff1con
,
eff2con
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
or
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
false
)
or
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
false
)
end
end
function
RushDuel
.
SelectEffectTarget
(
eff1con
,
eff2con
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
or
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
chk
==
0
then
return
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
false
)
or
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
false
)
end
end
end
function
RushDuel
.
SelectEffectOperation
(
eff1hint
,
eff1con
,
eff1op
,
eff2hint
,
eff2con
,
eff2op
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
eff1
=
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
eff2
=
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
eff1
=
eff1con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
true
)
local
eff2
=
eff2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
true
)
local
select
=
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EFFECT
)
if
eff1
and
eff2
then
...
...
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