Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
c9eb6d48
Commit
c9eb6d48
authored
Jan 20, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1ed37c9d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c101004031.lua
script/c101004031.lua
+3
-3
script/c101004033.lua
script/c101004033.lua
+4
-4
script/c101004059.lua
script/c101004059.lua
+2
-2
No files found.
expansions/pre-release.cdb
View file @
c9eb6d48
No preview for this file type
script/c101004031.lua
View file @
c9eb6d48
...
...
@@ -89,10 +89,10 @@ function c101004031.mvop(e,tp,eg,ep,ev,re,r,rp)
local
seq1
=
c
:
GetSequence
()
local
seq2
=
tc
:
GetSequence
()
if
seq1
>
4
then
return
end
if
(
seq1
>
seq2
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq1
<
seq2
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
then
if
(
seq1
>
seq2
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
1
-
1
))
or
(
seq1
<
seq2
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
1
+
1
))
then
local
nseq
=
0
if
seq1
>
seq2
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
)
then
nseq
=
seq1
-
1
if
seq1
>
seq2
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
1
-
1
)
then
nseq
=
seq1
-
1
else
nseq
=
seq1
+
1
end
Duel
.
MoveSequence
(
c
,
nseq
)
local
cg
=
c
:
GetColumnGroup
()
...
...
script/c101004033.lua
View file @
c9eb6d48
...
...
@@ -24,10 +24,10 @@ function c101004033.discon(e,tp,eg,ep,ev,re,r,rp)
local
ex4
,
g4
,
gc4
,
dp4
,
dv4
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_SPECIAL_SUMMON
)
local
ex5
,
g5
,
gc5
,
dp5
,
dv5
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_TOGRAVE
)
local
ex6
=
re
:
IsHasCategory
(
CATEGORY_LEAVE_GRAVE
)
return
((
ex1
and
bit
.
band
(
dv1
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
)
or
(
ex2
and
bit
.
band
(
dv2
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
)
or
(
ex4
and
bit
.
band
(
dv4
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
)
or
(
ex5
and
bit
.
band
(
dv5
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
)
return
((
ex1
and
(
bit
.
band
(
dv1
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g1
and
g1
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
))
)
or
(
ex2
and
(
bit
.
band
(
dv2
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g2
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
))
)
or
(
ex4
and
(
bit
.
band
(
dv4
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g4
and
g4
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
))
)
or
(
ex5
and
(
bit
.
band
(
dv5
,
LOCATION_GRAVE
)
==
LOCATION_GRAVE
or
g5
and
g5
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
))
)
or
ex6
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c101004033
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c101004059.lua
View file @
c9eb6d48
...
...
@@ -65,12 +65,12 @@ function c101004059.mvop(e,tp,eg,ep,ev,re,r,rp)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c101004059
.
mvfilter
3
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c101004059
.
mvfilter
2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
local
tc1
=
g1
:
GetFirst
()
if
not
tc1
then
return
end
Duel
.
HintSelection
(
g1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101004059
.
mvfilter
2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
tc1
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101004059
.
mvfilter
3
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
tc1
)
Duel
.
HintSelection
(
g2
)
local
tc2
=
g2
:
GetFirst
()
Duel
.
SwapSequence
(
tc1
,
tc2
)
...
...
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