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
a7ba9655
Commit
a7ba9655
authored
Oct 26, 2022
by
songtongtong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 98600008.lua
parent
d30d2780
Pipeline
#17456
passed with stages
in 23 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
expansions/script/c98600008.lua
expansions/script/c98600008.lua
+13
-12
No files found.
expansions/script/c98600008.lua
View file @
a7ba9655
...
...
@@ -3,18 +3,15 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
nil
,
5
,
5
,
cm
.
lcheck
)
c
:
EnableReviveLimit
()
if
not
cm
.
gchk
then
cm
.
gchk
=
true
local
ex
=
Effect
.
GlobalEffect
()
ex
:
SetType
(
EFFECT_TYPE_FIELD
)
ex
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
ex
:
SetTargetRange
(
LOCATION_HAND
,
LOCATION_HAND
)
ex
:
SetValue
(
function
(
e
,
c
,
mg
)
return
c
:
GetOriginalCode
()
==
m
end
)
ex
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
Duel
.
RegisterEffect
(
ex
,
0
)
end
--extra material
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e0
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
e0
:
SetRange
(
LOCATION_EXTRA
)
e0
:
SetTargetRange
(
LOCATION_HAND
,
0
)
e0
:
SetValue
(
cm
.
matval
)
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
...
@@ -188,6 +185,10 @@ function cm.initial_effect(c)
end
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
matval
(
e
,
lc
,
mg
,
c
,
tp
)
if
e
:
GetHandler
()
~=
lc
then
return
false
,
nil
end
return
true
,
true
end
function
cm
.
SanaeCondition
(
ct
)
return
function
(
e
)
return
e
:
GetHandler
():
GetLinkedGroupCount
()
>=
ct
...
...
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