Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
fdb3cc49
Commit
fdb3cc49
authored
Dec 21, 2022
by
songtongtong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
12.21 14:15
parent
1b80e506
Pipeline
#18743
passed with stages
in 25 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
expansions/script/c37900033.lua
expansions/script/c37900033.lua
+5
-2
No files found.
expansions/script/c37900033.lua
View file @
fdb3cc49
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
--xyz summon
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedureLevelFree
(
c
,
nil
,
cm
.
xyzcheck
,
2
,
2
)
aux
.
AddXyzProcedureLevelFree
(
c
,
cm
.
check
,
cm
.
xyzcheck
,
2
,
2
)
--Attribute Dark
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -32,6 +32,9 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
check
(
c
)
return
c
:
GetRank
()
>
0
end
function
cm
.
xyzcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetRank
)
==
1
end
...
...
@@ -41,7 +44,7 @@ end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsSummonType
(
SUMMON_TYPE_XYZ
)
then
return
end
local
cg
=
c
:
Get
OverlayGroup
()
local
cg
=
c
:
Get
Material
()
local
sg
=
cg
:
Filter
(
cm
.
copyfilter
,
nil
)
for
tc
in
aux
.
Next
(
sg
)
do
local
code
=
tc
:
GetCode
()
...
...
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