Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
20745865
Commit
20745865
authored
Sep 08, 2023
by
零界
Committed by
GitHub
Sep 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 反逆の罪宝-スネークアイ (#2113)
parent
e03f282b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
c24081957.lua
c24081957.lua
+5
-2
No files found.
c24081957.lua
View file @
20745865
...
...
@@ -13,9 +13,12 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
s
.
filter
(
c
,
tp
,
ft
)
if
c
:
IsFacedown
()
then
return
false
end
local
p
=
c
:
GetOwner
()
if
p
~=
tp
then
ft
=
0
end
local
r
=
LOCATION_REASON_TOFIELD
if
not
c
:
IsControler
(
c
:
GetOwner
()
)
then
r
=
LOCATION_REASON_CONTROL
end
return
c
:
IsFaceup
()
and
Duel
.
GetLocationCount
(
c
:
GetOwner
()
,
LOCATION_SZONE
,
tp
,
r
)
>
ft
if
not
c
:
IsControler
(
p
)
then
r
=
LOCATION_REASON_CONTROL
end
return
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
,
r
)
>
ft
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
s
.
filter
(
chkc
,
tp
,
0
)
end
...
...
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