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
32fb492e
Commit
32fb492e
authored
Nov 18, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9df625b2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
12 deletions
+4
-12
c26302107.lua
c26302107.lua
+1
-3
c52350806.lua
c52350806.lua
+1
-3
c90807199.lua
c90807199.lua
+1
-3
c99745551.lua
c99745551.lua
+1
-3
No files found.
c26302107.lua
View file @
32fb492e
...
@@ -43,9 +43,7 @@ end
...
@@ -43,9 +43,7 @@ end
function
c26302107
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c26302107
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
if
#
g
<
1
then
return
end
if
#
g
<
1
then
return
end
Duel
.
ShuffleHand
(
tp
)
local
tc
=
g
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DISCARD
)
local
tc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
if
not
tc
:
GetFirst
():
IsCode
(
26302107
)
then
if
not
tc
:
GetFirst
():
IsCode
(
26302107
)
then
...
...
c52350806.lua
View file @
32fb492e
...
@@ -43,9 +43,7 @@ end
...
@@ -43,9 +43,7 @@ end
function
c52350806
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52350806
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
if
#
g
<
1
then
return
end
if
#
g
<
1
then
return
end
Duel
.
ShuffleHand
(
tp
)
local
tc
=
g
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DISCARD
)
local
tc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
if
not
tc
:
GetFirst
():
IsCode
(
52350806
)
then
if
not
tc
:
GetFirst
():
IsCode
(
52350806
)
then
...
...
c90807199.lua
View file @
32fb492e
...
@@ -43,9 +43,7 @@ end
...
@@ -43,9 +43,7 @@ end
function
c90807199
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90807199
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
if
#
g
<
1
then
return
end
if
#
g
<
1
then
return
end
Duel
.
ShuffleHand
(
tp
)
local
tc
=
g
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DISCARD
)
local
tc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
if
not
tc
:
GetFirst
():
IsCode
(
90807199
)
then
if
not
tc
:
GetFirst
():
IsCode
(
90807199
)
then
...
...
c99745551.lua
View file @
32fb492e
...
@@ -43,9 +43,7 @@ end
...
@@ -43,9 +43,7 @@ end
function
c99745551
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c99745551
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
,
0
)
if
#
g
<
1
then
return
end
if
#
g
<
1
then
return
end
Duel
.
ShuffleHand
(
tp
)
local
tc
=
g
:
RandomSelect
(
1
-
tp
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_DISCARD
)
local
tc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_DISCARD
)
if
not
tc
:
GetFirst
():
IsCode
(
99745551
)
then
if
not
tc
:
GetFirst
():
IsCode
(
99745551
)
then
...
...
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