Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
Commits
ddc721e2
Commit
ddc721e2
authored
Jul 27, 2020
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix マジカルシルクハット
Card.IsCanBeSpecialSummoned() will check uniqueness.
parent
a0de9f32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
c81210420.lua
c81210420.lua
+2
-1
No files found.
c81210420.lua
View file @
ddc721e2
...
@@ -18,7 +18,8 @@ function c81210420.filter(c)
...
@@ -18,7 +18,8 @@ function c81210420.filter(c)
return
c
:
GetSequence
()
<
5
and
not
c
:
IsType
(
TYPE_TOKEN
+
TYPE_LINK
)
return
c
:
GetSequence
()
<
5
and
not
c
:
IsType
(
TYPE_TOKEN
+
TYPE_LINK
)
end
end
function
c81210420
.
spfilter
(
c
,
e
,
tp
)
function
c81210420
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
nil
,
0x11
,
0
,
0
,
0
,
0
,
0
,
POS_FACEDOWN
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
nil
,
TYPE_MONSTER
+
TYPE_NORMAL
,
0
,
0
,
0
,
0
,
0
,
POS_FACEDOWN_DEFENSE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
,
POS_FACEDOWN_DEFENSE
)
end
end
function
c81210420
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c81210420
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c81210420
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c81210420
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
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