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
822f9212
Commit
822f9212
authored
Oct 20, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/10/20 新增:星座宇宙世界树龙
parent
bc05f65a
Pipeline
#30599
passed with stages
in 9 minutes and 49 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
53 additions
and
2 deletions
+53
-2
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120252001.lua
script/c120252001.lua
+1
-1
script/c120260007.lua
script/c120260007.lua
+12
-1
script/c120272011.lua
script/c120272011.lua
+40
-0
No files found.
RD Patch.cdb
View file @
822f9212
No preview for this file type
script/c120252001.lua
View file @
822f9212
...
...
@@ -6,7 +6,7 @@ function cm.initial_effect(c)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedureSP
(
c
,
cm
.
matfilter
,
cm
.
check
,
2
,
3
)
RD
.
SetFusionMaterial
(
c
,{
120120000
},
3
,
3
)
RD
.
SetFusionMaterial
(
c
,{
list
[
1
]
},
3
,
3
)
end
--Fusion Material
function
cm
.
matfilter
(
c
,
fc
,
sub
)
...
...
script/c120260007.lua
View file @
822f9212
...
...
@@ -5,7 +5,8 @@ cm.name="深空宇宙世界树龙"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
list
[
1
],
list
[
1
],
list
[
1
])
RD
.
AddFusionProcedureSP
(
c
,
cm
.
matfilter
,
cm
.
check
,
2
,
3
)
RD
.
SetFusionMaterial
(
c
,{
list
[
1
]},
3
,
3
)
--Indes
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -31,6 +32,16 @@ function cm.initial_effect(c)
--Continuous Effect
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
,
e3
)
end
--Fusion Material
function
cm
.
matfilter
(
c
,
fc
,
sub
)
return
c
:
IsFusionCode
(
list
[
1
])
or
(
sub
and
c
:
CheckFusionSubstitute
(
fc
))
end
function
cm
.
exfilter
(
c
)
return
c
:
IsHasEffect
(
120272011
)
end
function
cm
.
check
(
g
,
tp
,
fc
,
chkf
)
return
g
:
GetCount
()
==
3
or
g
:
IsExists
(
cm
.
exfilter
,
1
,
nil
)
end
--Indes
cm
.
indval
=
RD
.
ValueEffectIndesType
(
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
,
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
)
--Atk Down
...
...
script/c120272011.lua
0 → 100644
View file @
822f9212
local
m
=
120272011
local
list
=
{
120260009
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"星座宇宙世界树龙"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Change Code
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Change Code
function
cm
.
exfilter
(
c
)
return
c
:
IsCode
(
list
[
1
])
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsCode
(
list
[
1
])
end
cm
.
cost
=
RD
.
CostSendDeckTopToGrave
(
1
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
RD
.
ChangeCode
(
e
,
c
,
list
[
1
],
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
--Extra Material
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
m
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
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