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
3175cfe5
Commit
3175cfe5
authored
Jun 12, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fbc5ee15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
script/c44394295.lua
script/c44394295.lua
+9
-7
No files found.
script/c44394295.lua
View file @
3175cfe5
...
@@ -81,16 +81,18 @@ function c44394295.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,16 +81,18 @@ function c44394295.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
else
else
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
loc
,
0
)
local
cg1
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
local
cg2
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
if
cg1
:
GetCount
()
>
1
and
cg2
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
local
cg3
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_EXTRA
,
0
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
if
cg1
:
GetCount
()
>
1
and
cg3
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummon
(
tp
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
27581098
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
if
bit
.
band
(
loc
,
LOCATION_DECK
)
==
LOCATION_DECK
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
EFFECT_CANNOT_DISCARD_DECK
)
then
Duel
.
ShuffleHand
(
tp
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg2
)
if
bit
.
band
(
loc
,
LOCATION_DECK
)
==
LOCATION_DECK
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
Duel
.
ConfirmCards
(
1
-
tp
,
cg3
)
Duel
.
ShuffleHand
(
tp
)
end
end
end
end
end
end
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