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
875e3964
Commit
875e3964
authored
Dec 17, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/12/17 新增:猫融合怪兽
parent
8883efc3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
0 deletions
+98
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120235036.lua
script/c120235036.lua
+47
-0
script/c120235037.lua
script/c120235037.lua
+51
-0
No files found.
RD Patch.cdb
View file @
875e3964
No preview for this file type
script/c120235036.lua
0 → 100644
View file @
875e3964
local
m
=
120235036
local
list
=
{
120235016
,
120235004
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"星猫·前锋喵"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
list
[
1
],
list
[
2
])
--Atk & Def Down
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_DEFCHANGE
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Atk & Def Down
function
cm
.
costfilter
(
c
)
return
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
cm
.
cost
=
RD
.
CostSendOnFieldToGrave
(
cm
.
costfilter
,
1
,
1
,
true
,
nil
,
nil
,
function
(
g
)
local
tc
=
g
:
GetFirst
()
if
tc
:
GetBaseDefense
()
==
200
and
tc
:
IsType
(
TYPE_NORMAL
)
then
return
1
else
return
0
end
end
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
function
(
g
)
RD
.
AttachAtkDef
(
e
,
g
:
GetFirst
(),
-
2200
,
-
2200
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
if
e
:
GetLabel
()
==
1
then
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
2
),
HINTMSG_DESTROY
,
cm
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
function
(
sg
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
)
end
end
)
end
\ No newline at end of file
script/c120235037.lua
0 → 100644
View file @
875e3964
local
m
=
120235037
local
list
=
{
120235016
,
120235005
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"星猫·毁灭喵"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
list
[
1
],
list
[
2
])
--Special Summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Special Summon
function
cm
.
costfilter
(
c
)
return
RD
.
IsDefense
(
c
,
200
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
RD
.
IsDefense
(
c
,
200
)
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP
)
end
function
cm
.
exfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
cm
.
costcheck
(
g
,
e
,
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
g
,
e
,
tp
)
return
sg
:
CheckSubGroup
(
cm
.
check
,
2
,
2
)
end
function
cm
.
check
(
g
)
return
g
:
GetClassCount
(
Card
.
GetLevel
)
==
1
end
cm
.
cost
=
RD
.
CostSendGraveSubToDeck
(
cm
.
costfilter
,
cm
.
costcheck
,
2
,
2
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
sg
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetMZoneCount
(
tp
)
>
1
and
sg
:
CheckSubGroup
(
cm
.
check
,
2
,
2
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
SelectGroupAndSpecialSummon
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
cm
.
check
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
,
e
,
POS_FACEUP
)
~=
0
then
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
cm
.
exfilter
,
nil
)
og
:
ForEach
(
function
(
tc
)
RD
.
AttachAtkDef
(
e
,
tc
,
2200
,
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
end
)
end
end
\ No newline at end of file
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