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
39f40a8c
Commit
39f40a8c
authored
Jan 11, 2020
by
DailyShana
Committed by
GitHub
Jan 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add HINT_ZONE (#1305)
parent
610b542a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
0 deletions
+8
-0
c14839621.lua
c14839621.lua
+1
-0
c40669071.lua
c40669071.lua
+1
-0
c50696588.lua
c50696588.lua
+1
-0
c53244294.lua
c53244294.lua
+1
-0
c79569173.lua
c79569173.lua
+1
-0
c90502999.lua
c90502999.lua
+1
-0
c97466438.lua
c97466438.lua
+1
-0
constant.lua
constant.lua
+1
-0
No files found.
c14839621.lua
View file @
39f40a8c
...
...
@@ -26,6 +26,7 @@ function c14839621.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
ft
>
0
end
local
seq
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0
)
e
:
SetLabel
(
seq
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
seq
)
end
function
c14839621
.
cfilter
(
c
,
seq
,
tp
)
local
nseq
=
c
:
GetSequence
()
...
...
c40669071.lua
View file @
39f40a8c
...
...
@@ -40,6 +40,7 @@ function c40669071.lztg(e,tp,eg,ep,ev,re,r,rp,chk)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
ct
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
ct
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0xe000e0
)
e
:
SetLabel
(
dis
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
dis
)
end
function
c40669071
.
lzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c50696588.lua
View file @
39f40a8c
...
...
@@ -17,6 +17,7 @@ function c50696588.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
end
local
flag
=
Duel
.
SelectDisableField
(
tp
,
1
,
0
,
LOCATION_MZONE
,
0
)
e
:
SetLabel
(
flag
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
flag
)
end
function
c50696588
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
flag
=
e
:
GetLabel
()
...
...
c53244294.lua
View file @
39f40a8c
...
...
@@ -56,6 +56,7 @@ function c53244294.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
>
0
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0xe000e0
)
e
:
SetLabel
(
dis
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
dis
)
end
function
c53244294
.
zop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c79569173.lua
View file @
39f40a8c
...
...
@@ -42,6 +42,7 @@ function c79569173.target(e,tp,eg,ep,ev,re,r,rp,chk)
c
:
RegisterEffect
(
e1
)
local
dis
=
Duel
.
SelectDisableField
(
tp
,
3
,
0
,
LOCATION_SZONE
,
0
)
e
:
SetLabel
(
dis
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
dis
)
end
function
c79569173
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
<
3
then
return
end
...
...
c90502999.lua
View file @
39f40a8c
...
...
@@ -20,6 +20,7 @@ function c90502999.target(e,tp,eg,ep,ev,re,r,rp,chk)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
1
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
2
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0xe000e0
)
e
:
SetLabel
(
dis
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
dis
)
end
function
c90502999
.
disop
(
e
,
tp
)
return
e
:
GetLabelObject
():
GetLabel
()
...
...
c97466438.lua
View file @
39f40a8c
...
...
@@ -47,6 +47,7 @@ function c97466438.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
,
PLAYER_NONE
,
0
)
>
0
end
local
dis
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
0xe000e0
)
e
:
SetLabel
(
dis
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
dis
)
end
function
c97466438
.
zop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
constant.lua
View file @
39f40a8c
...
...
@@ -664,6 +664,7 @@ HINT_ATTRIB =7
HINT_CODE
=
8
HINT_NUMBER
=
9
HINT_CARD
=
10
HINT_ZONE
=
11
--Card Hint
CHINT_TURN
=
1
CHINT_CARD
=
2
...
...
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