Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
YGOPRO-520DIY
ygopro
Commits
e7ecca2c
Commit
e7ecca2c
authored
Nov 18, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #634 from woodee/patch-35
fix
parents
7e28f1ae
d425535c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
script/c19028307.lua
script/c19028307.lua
+3
-1
No files found.
script/c19028307.lua
View file @
e7ecca2c
...
...
@@ -21,7 +21,9 @@ end
function
c19028307
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
n
=
0
if
Duel
.
IsExistingMatchingCard
(
c19028307
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
,
RACE_BEASTWARRIOR
+
RACE_MACHINE
)
then
n
=-
1
end
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
n
and
Duel
.
IsExistingMatchingCard
(
c19028307
.
spfilter
,
tp
,
0x16
,
0
,
1
,
c
,
RACE_BEASTWARRIOR
)
and
Duel
.
IsExistingMatchingCard
(
c19028307
.
spfilter
,
tp
,
0x16
,
0
,
1
,
c
,
RACE_MACHINE
)
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