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
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-core
Commits
fa24c16c
Commit
fa24c16c
authored
Nov 24, 2015
by
Argon.Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
75038aeb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
+0
-5
libduel.cpp
libduel.cpp
+0
-3
operations.cpp
operations.cpp
+0
-1
processor.cpp
processor.cpp
+0
-1
No files found.
libduel.cpp
View file @
fa24c16c
...
@@ -2253,14 +2253,12 @@ int32 scriptlib::duel_set_target_card(lua_State *L) {
...
@@ -2253,14 +2253,12 @@ int32 scriptlib::duel_set_target_card(lua_State *L) {
if
(
pcard
->
current
.
location
&
0x30
)
if
(
pcard
->
current
.
location
&
0x30
)
pduel
->
game_field
->
move_card
(
pcard
->
current
.
controler
,
pcard
,
pcard
->
current
.
location
,
0
);
pduel
->
game_field
->
move_card
(
pcard
->
current
.
controler
,
pcard
,
pcard
->
current
.
location
,
0
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
1
);
pduel
->
write_buffer32
(
pcard
->
get_info_location
());
pduel
->
write_buffer32
(
pcard
->
get_info_location
());
}
else
{
}
else
{
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
for
(
auto
cit
=
pgroup
->
container
.
begin
();
cit
!=
pgroup
->
container
.
end
();
++
cit
)
{
if
((
*
cit
)
->
current
.
location
&
0x30
)
if
((
*
cit
)
->
current
.
location
&
0x30
)
pduel
->
game_field
->
move_card
((
*
cit
)
->
current
.
controler
,
(
*
cit
),
(
*
cit
)
->
current
.
location
,
0
);
pduel
->
game_field
->
move_card
((
*
cit
)
->
current
.
controler
,
(
*
cit
),
(
*
cit
)
->
current
.
location
,
0
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
1
);
pduel
->
write_buffer32
((
*
cit
)
->
get_info_location
());
pduel
->
write_buffer32
((
*
cit
)
->
get_info_location
());
}
}
}
}
...
@@ -2573,7 +2571,6 @@ int32 scriptlib::duel_hint_selection(lua_State *L) {
...
@@ -2573,7 +2571,6 @@ int32 scriptlib::duel_hint_selection(lua_State *L) {
if
(
pcard
->
current
.
location
&
0x30
)
if
(
pcard
->
current
.
location
&
0x30
)
pduel
->
game_field
->
move_card
(
pcard
->
current
.
controler
,
pcard
,
pcard
->
current
.
location
,
0
);
pduel
->
game_field
->
move_card
(
pcard
->
current
.
controler
,
pcard
,
pcard
->
current
.
location
,
0
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
1
);
pduel
->
write_buffer32
(
pcard
->
get_info_location
());
pduel
->
write_buffer32
(
pcard
->
get_info_location
());
}
}
return
0
;
return
0
;
...
...
operations.cpp
View file @
fa24c16c
...
@@ -79,7 +79,6 @@ void field::change_target(uint8 chaincount, group* targets) {
...
@@ -79,7 +79,6 @@ void field::change_target(uint8 chaincount, group* targets) {
if
(
cit
->
current
.
location
&
0x30
)
if
(
cit
->
current
.
location
&
0x30
)
move_card
(
cit
->
current
.
controler
,
cit
,
cit
->
current
.
location
,
0
);
move_card
(
cit
->
current
.
controler
,
cit
,
cit
->
current
.
location
,
0
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
1
);
pduel
->
write_buffer32
(
cit
->
get_info_location
());
pduel
->
write_buffer32
(
cit
->
get_info_location
());
}
}
}
}
...
...
processor.cpp
View file @
fa24c16c
...
@@ -733,7 +733,6 @@ int32 field::process() {
...
@@ -733,7 +733,6 @@ int32 field::process() {
if
(
pcard
->
current
.
location
&
0x30
)
if
(
pcard
->
current
.
location
&
0x30
)
move_card
(
pcard
->
current
.
controler
,
pcard
,
pcard
->
current
.
location
,
0
);
move_card
(
pcard
->
current
.
controler
,
pcard
,
pcard
->
current
.
location
,
0
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
MSG_BECOME_TARGET
);
pduel
->
write_buffer8
(
1
);
pduel
->
write_buffer32
(
pcard
->
get_info_location
());
pduel
->
write_buffer32
(
pcard
->
get_info_location
());
}
}
}
}
...
...
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