Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
d5338ccb
Commit
d5338ccb
authored
Sep 02, 2022
by
mercury233
Committed by
GitHub
Sep 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Codebreaker Virus Berserker (#1953)
parent
396c2545
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
c48736598.lua
c48736598.lua
+5
-4
c61665245.lua
c61665245.lua
+3
-3
c84121193.lua
c84121193.lua
+3
-3
No files found.
c48736598.lua
View file @
d5338ccb
...
...
@@ -64,14 +64,15 @@ function c48736598.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
while
tc
do
local
ava_zone
=
0
local
ava
il
_zone
=
0
for
p
=
0
,
1
do
local
_
,
flag_tmp
=
Duel
.
GetLocationCount
(
p
,
LOCATION_MZONE
,
tp
,
LOCATION_REASON_TOFIELD
,
zone
[
p
])
flag
[
p
]
=
(
~
flag_tmp
)
&
0x7f
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
p
,
zone
[
p
])
then
ava
_zone
=
ava
_zone
|
(
flag
[
p
]
<<
(
p
==
tp
and
0
or
16
))
ava
il_zone
=
avail
_zone
|
(
flag
[
p
]
<<
(
p
==
tp
and
0
or
16
))
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
sel_zone
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0x00ff00ff
&
(
~
ava_zone
))
local
sel_zone
=
Duel
.
SelectField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0x00ff00ff
&
(
~
avail_zone
),
tc
:
GetCode
())
local
sump
=
0
if
sel_zone
&
0xff
>
0
then
sump
=
tp
...
...
c61665245.lua
View file @
d5338ccb
...
...
@@ -93,14 +93,14 @@ function c61665245.spop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c61665245
.
spfilter3
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetRace
())
local
sc
=
g
:
GetFirst
()
if
sc
then
local
ava_zone
=
0
local
ava
il
_zone
=
0
for
p
=
0
,
1
do
if
sc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
p
,
zone
[
p
])
then
ava
_zone
=
ava
_zone
|
(
flag
[
p
]
<<
(
p
==
tp
and
0
or
16
))
ava
il_zone
=
avail
_zone
|
(
flag
[
p
]
<<
(
p
==
tp
and
0
or
16
))
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
sel_zone
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0x00ff00ff
&
(
~
ava_zone
))
local
sel_zone
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0x00ff00ff
&
(
~
ava
il
_zone
))
local
sump
=
0
if
sel_zone
&
0xff
>
0
then
sump
=
tp
...
...
c84121193.lua
View file @
d5338ccb
...
...
@@ -68,14 +68,14 @@ function c84121193.spop1(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
if
tc
then
local
ava_zone
=
0
local
ava
il
_zone
=
0
for
p
=
0
,
1
do
if
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
p
,
zone
[
p
])
then
ava
_zone
=
ava
_zone
|
(
flag
[
p
]
<<
(
p
==
tp
and
0
or
16
))
ava
il_zone
=
avail
_zone
|
(
flag
[
p
]
<<
(
p
==
tp
and
0
or
16
))
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
local
sel_zone
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0x00ff00ff
&
(
~
ava_zone
))
local
sel_zone
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
LOCATION_MZONE
,
0x00ff00ff
&
(
~
ava
il
_zone
))
local
sump
=
0
if
sel_zone
&
0xff
>
0
then
sump
=
tp
...
...
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