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
71965d98
Commit
71965d98
authored
Nov 13, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #110 from nekrozar/patch-1
fix Storm Shooter, Rampaging Rhynos, Alien Infiltrator
parents
f1bf8dbe
77c73049
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
c3784434.lua
c3784434.lua
+4
-2
c39188539.lua
c39188539.lua
+4
-2
c76573247.lua
c76573247.lua
+4
-2
No files found.
c3784434.lua
View file @
71965d98
...
...
@@ -25,7 +25,9 @@ function c3784434.seqcon(e,tp,eg,ep,ev,re,r,rp)
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
end
function
c3784434
.
seqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsControler
(
1
-
tp
)
then
return
end
local
seq
=
c
:
GetSequence
()
if
(
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
then
local
flag
=
0
...
...
@@ -39,7 +41,7 @@ function c3784434.seqop(e,tp,eg,ep,ev,re,r,rp)
elseif
s
==
4
then
nseq
=
2
elseif
s
==
8
then
nseq
=
3
else
nseq
=
4
end
Duel
.
MoveSequence
(
e
:
GetHandler
()
,
nseq
)
Duel
.
MoveSequence
(
c
,
nseq
)
end
end
function
c3784434
.
dircon
(
e
,
tp
)
...
...
c39188539.lua
View file @
71965d98
...
...
@@ -33,7 +33,9 @@ function c39188539.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
function
c39188539
.
seqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsControler
(
1
-
tp
)
then
return
end
local
seq
=
c
:
GetSequence
()
if
(
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
then
local
flag
=
0
...
...
@@ -47,7 +49,7 @@ function c39188539.seqop(e,tp,eg,ep,ev,re,r,rp)
elseif
s
==
4
then
nseq
=
2
elseif
s
==
8
then
nseq
=
3
else
nseq
=
4
end
Duel
.
MoveSequence
(
e
:
GetHandler
()
,
nseq
)
Duel
.
MoveSequence
(
c
,
nseq
)
end
end
function
c39188539
.
filter
(
c
,
seq
)
...
...
c76573247.lua
View file @
71965d98
...
...
@@ -22,7 +22,9 @@ function c76573247.seqcon(e,tp,eg,ep,ev,re,r,rp)
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
end
function
c76573247
.
seqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsControler
(
1
-
tp
)
then
return
end
local
seq
=
c
:
GetSequence
()
if
(
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
then
local
flag
=
0
...
...
@@ -36,7 +38,7 @@ function c76573247.seqop(e,tp,eg,ep,ev,re,r,rp)
elseif
s
==
4
then
nseq
=
2
elseif
s
==
8
then
nseq
=
3
else
nseq
=
4
end
Duel
.
MoveSequence
(
e
:
GetHandler
()
,
nseq
)
Duel
.
MoveSequence
(
c
,
nseq
)
end
end
function
c76573247
.
dircon
(
e
)
...
...
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