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
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-scripts
Commits
4ee8e5be
Commit
4ee8e5be
authored
Feb 01, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dc6e11f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
c3758046.lua
c3758046.lua
+3
-3
c74845897.lua
c74845897.lua
+3
-3
No files found.
c3758046.lua
View file @
4ee8e5be
...
@@ -49,14 +49,14 @@ function c3758046.filter(c,e,tp,id)
...
@@ -49,14 +49,14 @@ function c3758046.filter(c,e,tp,id)
end
end
function
c3758046
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3758046
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c3758046
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
,
Duel
.
GetTurnCount
())
local
tg
=
Duel
.
GetMatchingGroup
(
c3758046
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
,
Duel
.
GetTurnCount
())
if
ft
<=
0
or
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
tg
:
GetCount
()
>
1
and
ft
>
1
)
then
return
end
if
ft
<=
0
or
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
tg
:
GetCount
()
>
1
and
ft
>
1
)
then
return
end
local
g
=
nil
local
g
=
nil
if
tg
:
Get
c
ount
()
>
ft
then
if
tg
:
Get
C
ount
()
>
ft
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
g
=
tg
:
Select
(
tp
,
ft
,
ft
,
nil
)
g
=
tg
:
Select
(
tp
,
ft
,
ft
,
nil
)
else
else
g
=
tg
:
Clone
()
g
=
tg
end
end
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
c74845897.lua
View file @
4ee8e5be
...
@@ -19,14 +19,14 @@ function c74845897.tg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,14 +19,14 @@ function c74845897.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c74845897
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74845897
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
tg
=
Duel
.
GetMatchingGroup
(
tp
,
c74845897
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
GetMatchingGroup
(
c74845897
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
ft
<=
0
or
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
tg
:
GetCount
()
>
1
and
ft
>
1
)
then
return
end
if
ft
<=
0
or
(
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
tg
:
GetCount
()
>
1
and
ft
>
1
)
then
return
end
local
g
=
nil
local
g
=
nil
if
tg
:
Get
c
ount
()
>
ft
then
if
tg
:
Get
C
ount
()
>
ft
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
g
=
tg
:
Select
(
tp
,
ft
,
ft
,
nil
)
g
=
tg
:
Select
(
tp
,
ft
,
ft
,
nil
)
else
else
g
=
tg
:
Clone
()
g
=
tg
end
end
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
fid
=
e
:
GetHandler
():
GetFieldID
()
local
fid
=
e
:
GetHandler
():
GetFieldID
()
...
...
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