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
4c82d1ce
Commit
4c82d1ce
authored
Apr 03, 2017
by
Hello23-Ygopro
Committed by
DailyShana
Apr 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add hint (#752)
parent
a38482b7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
0 deletions
+10
-0
c15893860.lua
c15893860.lua
+1
-0
c21772453.lua
c21772453.lua
+1
-0
c29515122.lua
c29515122.lua
+1
-0
c30100551.lua
c30100551.lua
+1
-0
c65872270.lua
c65872270.lua
+1
-0
c81278754.lua
c81278754.lua
+1
-0
c89086566.lua
c89086566.lua
+1
-0
c92693205.lua
c92693205.lua
+1
-0
c92918648.lua
c92918648.lua
+1
-0
c94388754.lua
c94388754.lua
+1
-0
No files found.
c15893860.lua
View file @
4c82d1ce
...
@@ -38,6 +38,7 @@ function c15893860.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,6 +38,7 @@ function c15893860.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
dg
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
end
end
end
c21772453.lua
View file @
4c82d1ce
...
@@ -51,6 +51,7 @@ function c21772453.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,6 +51,7 @@ function c21772453.operation(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
21772453
,
1
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
21772453
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
else
else
...
...
c29515122.lua
View file @
4c82d1ce
...
@@ -33,5 +33,6 @@ function c29515122.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,5 +33,6 @@ function c29515122.operation(e,tp,eg,ep,ev,re,r,rp)
if
ct
==
0
then
return
end
if
ct
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
Duel
.
HintSelection
(
dg
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
end
c30100551.lua
View file @
4c82d1ce
...
@@ -62,6 +62,7 @@ function c30100551.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,6 +62,7 @@ function c30100551.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sdg
=
dg
:
Select
(
tp
,
1
,
ct
,
nil
)
local
sdg
=
dg
:
Select
(
tp
,
1
,
ct
,
nil
)
Duel
.
HintSelection
(
sdg
)
Duel
.
Destroy
(
sdg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sdg
,
REASON_EFFECT
)
end
end
end
end
c65872270.lua
View file @
4c82d1ce
...
@@ -65,6 +65,7 @@ function c65872270.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,6 +65,7 @@ function c65872270.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
rg
=
g
:
Select
(
tp
,
ct2
,
ct2
,
nil
)
local
rg
=
g
:
Select
(
tp
,
ct2
,
ct2
,
nil
)
Duel
.
HintSelection
(
rg
)
Duel
.
SendtoHand
(
rg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
rg
,
nil
,
REASON_EFFECT
)
end
end
end
end
...
...
c81278754.lua
View file @
4c82d1ce
...
@@ -45,5 +45,6 @@ function c81278754.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,5 +45,6 @@ function c81278754.retop(e,tp,eg,ep,ev,re,r,rp)
if
ct
==
0
then
return
end
if
ct
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_MZONE
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_MZONE
,
1
,
ct
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
c89086566.lua
View file @
4c82d1ce
...
@@ -27,6 +27,7 @@ function c89086566.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -27,6 +27,7 @@ function c89086566.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg
=
dg
:
Select
(
tp
,
1
,
dt
,
nil
)
local
sg
=
dg
:
Select
(
tp
,
1
,
dt
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
end
end
c92693205.lua
View file @
4c82d1ce
...
@@ -47,6 +47,7 @@ function c92693205.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,6 +47,7 @@ function c92693205.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
ct
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
c92918648.lua
View file @
4c82d1ce
...
@@ -36,5 +36,6 @@ function c92918648.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,5 +36,6 @@ function c92918648.operation(e,tp,eg,ep,ev,re,r,rp)
if
ct
==
0
then
return
end
if
ct
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c92918648
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c92918648
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c94388754.lua
View file @
4c82d1ce
...
@@ -48,6 +48,7 @@ function c94388754.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,6 +48,7 @@ function c94388754.operation(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94388754
,
1
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
94388754
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
else
else
...
...
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