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
12d36d45
Commit
12d36d45
authored
Nov 16, 2019
by
mallu11
Committed by
mercury233
Nov 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix DisableShuffleCheck (#1240)
parent
dd976dca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
c31706048.lua
c31706048.lua
+1
-0
c81558967.lua
c81558967.lua
+3
-1
No files found.
c31706048.lua
View file @
12d36d45
...
@@ -24,6 +24,7 @@ function c31706048.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,6 +24,7 @@ function c31706048.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
if
g
:
IsExists
(
c31706048
.
filter
,
1
,
nil
)
then
if
g
:
IsExists
(
c31706048
.
filter
,
1
,
nil
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
FilterSelect
(
tp
,
c31706048
.
filter
,
1
,
1
,
nil
)
local
sg
=
g
:
FilterSelect
(
tp
,
c31706048
.
filter
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
...
...
c81558967.lua
View file @
12d36d45
...
@@ -44,6 +44,7 @@ function c81558967.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,6 +44,7 @@ function c81558967.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmDecktop
(
tp
,
ct
)
Duel
.
ConfirmDecktop
(
tp
,
ct
)
tg
=
g
:
Filter
(
c81558967
.
thfilter
,
nil
)
tg
=
g
:
Filter
(
c81558967
.
thfilter
,
nil
)
if
tg
:
GetCount
()
>
0
then
if
tg
:
GetCount
()
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tc
=
tg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
tg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
tc
:
IsAbleToHand
()
then
if
tc
:
IsAbleToHand
()
then
...
@@ -55,8 +56,9 @@ function c81558967.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,8 +56,9 @@ function c81558967.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
g
:
RemoveCard
(
tc
)
g
:
RemoveCard
(
tc
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
else
Duel
.
ShuffleDeck
(
tp
)
end
end
Duel
.
ShuffleDeck
(
tp
)
end
end
function
c81558967
.
spfilter
(
c
,
e
,
tp
)
function
c81558967
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x122
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x122
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
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