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
Soulgamer
ygopro-222DIY-cards
Commits
b172bf08
Commit
b172bf08
authored
Aug 13, 2023
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101202075.lua
parent
31b0eec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
expansions/script/c101202075.lua
expansions/script/c101202075.lua
+5
-4
No files found.
expansions/script/c101202075.lua
View file @
b172bf08
--
coded by Lyris
--
睨み統べるスネークアイズ
--The Glaring Ruler Snake-Eyes
--coded by Lyris
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
...
...
@@ -14,7 +15,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
19c
)
and
c
:
IsLevelAbove
(
1
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2a0
)
and
c
:
IsLevelAbove
(
1
)
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
):
GetSum
(
Card
.
GetLevel
)
>
1
...
...
@@ -22,7 +23,7 @@ end
function
s
.
mfilter
(
c
,
tp
,
ft
)
local
r
=
LOCATION_REASON_TOFIELD
if
not
c
:
IsControler
(
c
:
GetOwner
())
then
r
=
LOCATION_REASON_CONTROL
end
return
Duel
.
GetLocationCount
(
c
:
GetOwner
(),
LOCATION_SZONE
,
tp
,
r
)
>
0
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
and
Duel
.
GetLocationCount
(
c
:
GetOwner
(),
LOCATION_SZONE
,
tp
,
r
)
>
0
end
function
s
.
sfilter
(
c
,
e
,
tp
)
return
c
:
GetOriginalType
()
&
TYPE_MONSTER
>
0
and
c
:
GetType
()
&
TYPE_CONTINUOUS
+
TYPE_SPELL
==
TYPE_CONTINUOUS
+
TYPE_SPELL
...
...
@@ -70,4 +71,4 @@ end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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