Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-core
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
nanahira
ygopro-core
Commits
4047c1a7
Commit
4047c1a7
authored
Nov 09, 2024
by
salix5
Committed by
GitHub
Nov 09, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update left shift (#657)
parent
abc797dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
libduel.cpp
libduel.cpp
+1
-1
operations.cpp
operations.cpp
+2
-2
No files found.
libduel.cpp
View file @
4047c1a7
...
...
@@ -3875,7 +3875,7 @@ int32 scriptlib::duel_select_disable_field(lua_State * L) {
}
if
(
dfflag
&
(
0x1U
<<
5
))
dfflag
|=
0x1U
<<
(
16
+
6
);
if
(
dfflag
&
(
0x1
<<
6
))
if
(
dfflag
&
(
0x1
U
<<
6
))
dfflag
|=
0x1U
<<
(
16
+
5
);
lua_pushinteger
(
L
,
dfflag
);
return
1
;
...
...
operations.cpp
View file @
4047c1a7
...
...
@@ -4632,7 +4632,7 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
}
case
1
:
{
uint32
seq
=
returns
.
bvalue
[
2
];
if
(
location
==
LOCATION_SZONE
&&
zone
==
0x1
<<
5
&&
(
target
->
data
.
type
&
TYPE_FIELD
)
&&
(
target
->
data
.
type
&
TYPE_SPELL
))
if
(
location
==
LOCATION_SZONE
&&
zone
==
0x1
U
<<
5
&&
(
target
->
data
.
type
&
TYPE_FIELD
)
&&
(
target
->
data
.
type
&
TYPE_SPELL
))
seq
=
5
;
if
(
ret
!=
RETURN_TEMP_REMOVE_TO_FIELD
)
{
if
(
location
!=
target
->
current
.
location
)
{
...
...
@@ -4742,7 +4742,7 @@ int32 field::move_to_field(uint16 step, card* target, uint32 enable, uint32 ret,
}
if
(
peffect
->
get_handler_player
()
!=
target
->
current
.
controler
)
value
=
value
>>
16
;
if
(
value
&
(
0x1
<<
target
->
current
.
sequence
))
{
if
(
value
&
(
0x1
U
<<
target
->
current
.
sequence
))
{
peffect
->
dec_count
();
}
}
...
...
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