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
Show 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]
...
@@ -3,18 +3,15 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddLinkProcedure
(
c
,
nil
,
5
,
5
,
cm
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
nil
,
5
,
5
,
cm
.
lcheck
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
if
not
cm
.
gchk
then
--extra material
cm
.
gchk
=
true
local
e0
=
Effect
.
CreateEffect
(
c
)
local
ex
=
Effect
.
GlobalEffect
()
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
ex
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
ex
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
e0
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
ex
:
SetTargetRange
(
LOCATION_HAND
,
LOCATION_HAND
)
e0
:
SetRange
(
LOCATION_EXTRA
)
ex
:
SetValue
(
function
(
e
,
c
,
mg
)
e0
:
SetTargetRange
(
LOCATION_HAND
,
0
)
return
c
:
GetOriginalCode
()
==
m
e0
:
SetValue
(
cm
.
matval
)
end
)
c
:
RegisterEffect
(
e0
)
ex
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
Duel
.
RegisterEffect
(
ex
,
0
)
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
...
@@ -188,6 +185,10 @@ function cm.initial_effect(c)
...
@@ -188,6 +185,10 @@ function cm.initial_effect(c)
end
)
end
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
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
)
function
cm
.
SanaeCondition
(
ct
)
return
function
(
e
)
return
function
(
e
)
return
e
:
GetHandler
():
GetLinkedGroupCount
()
>=
ct
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