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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
e50233c6
Commit
e50233c6
authored
Jun 05, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nanodesu
parent
c1f11224
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
expansions/script/c81006028.lua
expansions/script/c81006028.lua
+5
-5
No files found.
expansions/script/c81006028.lua
View file @
e50233c6
...
@@ -7,7 +7,7 @@ function c81006028.initial_effect(c)
...
@@ -7,7 +7,7 @@ function c81006028.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
c81006028
.
sp
r
con
)
e1
:
SetCondition
(
c81006028
.
spcon
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--immune
--immune
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -34,15 +34,15 @@ function c81006028.initial_effect(c)
...
@@ -34,15 +34,15 @@ function c81006028.initial_effect(c)
e4
:
SetOperation
(
c81006028
.
ctop
)
e4
:
SetOperation
(
c81006028
.
ctop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c81006028
.
c
filter
(
c
)
function
c81006028
.
filter
(
c
)
return
c
:
GetSequence
()
>=
5
return
c
:
GetSequence
()
>=
5
end
end
function
c81006028
.
sp
r
con
(
e
,
c
)
function
c81006028
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c81006028
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c81006028
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
not
Duel
.
IsExistingMatchingCard
(
c81006028
.
c
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
not
Duel
.
IsExistingMatchingCard
(
c81006028
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c81006028
.
efilter
(
e
,
te
)
function
c81006028
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
GetOwner
():
GetSequence
()
>=
5
return
te
:
IsActiveType
(
TYPE_MONSTER
)
and
te
:
GetOwner
():
GetSequence
()
>=
5
...
...
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