Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
e71aa648
Commit
e71aa648
authored
May 05, 2015
by
Tianchenglipu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update utility.lua
弄错表里了= =
parent
713b8ce3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/utility.lua
script/utility.lua
+3
-3
No files found.
script/utility.lua
View file @
e71aa648
...
@@ -123,7 +123,7 @@ end
...
@@ -123,7 +123,7 @@ end
function
Auxiliary
.
SynCondition
(
f1
,
f2
,
minct
,
maxc
)
function
Auxiliary
.
SynCondition
(
f1
,
f2
,
minct
,
maxc
)
return
function
(
e
,
c
,
smat
,
mg
)
return
function
(
e
,
c
,
smat
,
mg
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
if
c
:
IsFace
down
()
then
return
false
end
if
c
:
IsFace
up
()
then
return
false
end
local
ft
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
local
ct
=-
ft
local
ct
=-
ft
local
minc
=
minct
local
minc
=
minct
...
@@ -196,7 +196,7 @@ function Auxiliary.XyzCondition(f,lv,minc,maxc)
...
@@ -196,7 +196,7 @@ function Auxiliary.XyzCondition(f,lv,minc,maxc)
--og: use special material
--og: use special material
return
function
(
e
,
c
,
og
)
return
function
(
e
,
c
,
og
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
if
c
:
IsFace
down
()
then
return
false
end
if
c
:
IsFace
up
()
then
return
false
end
local
ft
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
local
ct
=-
ft
local
ct
=-
ft
if
minc
<=
ct
then
return
false
end
if
minc
<=
ct
then
return
false
end
...
@@ -234,7 +234,7 @@ end
...
@@ -234,7 +234,7 @@ end
function
Auxiliary
.
XyzCondition2
(
f
,
lv
,
minc
,
maxc
,
alterf
,
desc
,
op
)
function
Auxiliary
.
XyzCondition2
(
f
,
lv
,
minc
,
maxc
,
alterf
,
desc
,
op
)
return
function
(
e
,
c
,
og
)
return
function
(
e
,
c
,
og
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
if
c
:
IsFace
down
()
then
return
false
end
if
c
:
IsFace
up
()
then
return
false
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
local
ct
=-
ft
...
...
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