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
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-scripts
Commits
282fa7b1
Commit
282fa7b1
authored
Jul 14, 2019
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Duel.SelectDisableField
parent
c9d1b741
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
c40669071.lua
c40669071.lua
+1
-1
c53244294.lua
c53244294.lua
+1
-1
c90502999.lua
c90502999.lua
+1
-1
c92065772.lua
c92065772.lua
+1
-1
c97466438.lua
c97466438.lua
+1
-1
No files found.
c40669071.lua
View file @
282fa7b1
...
@@ -38,7 +38,7 @@ function c40669071.lztg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -38,7 +38,7 @@ function c40669071.lztg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
ct
>
0
if
chk
==
0
then
return
ct
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
ct
end
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
ct
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
ct
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
)
local
dis
=
Duel
.
SelectDisableField
(
tp
,
ct
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
xe000e0
)
e
:
SetLabel
(
dis
)
e
:
SetLabel
(
dis
)
end
end
function
c40669071
.
lzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c40669071
.
lzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c53244294.lua
View file @
282fa7b1
...
@@ -54,7 +54,7 @@ function c53244294.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,7 +54,7 @@ function c53244294.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
>
0
end
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
>
0
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0
)
local
dis
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0
xe000e0
)
e
:
SetLabel
(
dis
)
e
:
SetLabel
(
dis
)
end
end
function
c53244294
.
zop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53244294
.
zop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c90502999.lua
View file @
282fa7b1
...
@@ -18,7 +18,7 @@ end
...
@@ -18,7 +18,7 @@ end
function
c90502999
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c90502999
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
1
end
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
1
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
2
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
)
local
dis
=
Duel
.
SelectDisableField
(
tp
,
2
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
xe000e0
)
e
:
SetLabel
(
dis
)
e
:
SetLabel
(
dis
)
end
end
function
c90502999
.
disop
(
e
,
tp
)
function
c90502999
.
disop
(
e
,
tp
)
...
...
c92065772.lua
View file @
282fa7b1
...
@@ -21,6 +21,6 @@ function c92065772.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -21,6 +21,6 @@ function c92065772.operation(e,tp,eg,ep,ev,re,r,rp)
e
:
GetHandler
():
RegisterEffect
(
e1
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
end
function
c92065772
.
disop
(
e
,
tp
)
function
c92065772
.
disop
(
e
,
tp
)
local
dis1
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
)
local
dis1
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
xe000e0
)
return
dis1
return
dis1
end
end
c97466438.lua
View file @
282fa7b1
...
@@ -45,7 +45,7 @@ function c97466438.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -45,7 +45,7 @@ function c97466438.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
>
0
end
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
>
0
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_
MZONE
+
LOCATION_SZONE
,
LOCATION_MZONE
+
LOCATION_SZONE
,
0
)
local
dis
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
0xe000e
0
)
e
:
SetLabel
(
dis
)
e
:
SetLabel
(
dis
)
end
end
function
c97466438
.
zop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97466438
.
zop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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