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
9b3dbc2c
Commit
9b3dbc2c
authored
Sep 21, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update MSG_SELECT_CHAIN
parent
cf73af57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
field.h
field.h
+3
-0
playerop.cpp
playerop.cpp
+2
-2
No files found.
field.h
View file @
9b3dbc2c
...
@@ -739,6 +739,9 @@ public:
...
@@ -739,6 +739,9 @@ public:
//
//
#define PHINT_DESC_ADD 6
#define PHINT_DESC_ADD 6
#define PHINT_DESC_REMOVE 7
#define PHINT_DESC_REMOVE 7
//
#define EDESC_OPERATION 1
#define EDESC_RESET 2
//Messages
//Messages
#define MSG_RETRY 1
#define MSG_RETRY 1
#define MSG_HINT 2
#define MSG_HINT 2
...
...
playerop.cpp
View file @
9b3dbc2c
...
@@ -308,9 +308,9 @@ int32 field::select_chain(uint16 step, uint8 playerid, uint8 spe_count, uint8 fo
...
@@ -308,9 +308,9 @@ int32 field::select_chain(uint16 step, uint8 playerid, uint8 spe_count, uint8 fo
effect
*
peffect
=
core
.
select_chains
[
i
].
triggering_effect
;
effect
*
peffect
=
core
.
select_chains
[
i
].
triggering_effect
;
card
*
pcard
=
peffect
->
handler
;
card
*
pcard
=
peffect
->
handler
;
if
(
peffect
->
is_flag
(
EFFECT_FLAG_FIELD_ONLY
))
if
(
peffect
->
is_flag
(
EFFECT_FLAG_FIELD_ONLY
))
pduel
->
write_buffer8
(
0x1
);
pduel
->
write_buffer8
(
EDESC_OPERATION
);
else
if
(
!
(
peffect
->
type
&
EFFECT_TYPE_ACTIONS
))
else
if
(
!
(
peffect
->
type
&
EFFECT_TYPE_ACTIONS
))
pduel
->
write_buffer8
(
0x2
);
pduel
->
write_buffer8
(
EDESC_RESET
);
else
else
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer32
(
pcard
->
data
.
code
);
pduel
->
write_buffer32
(
pcard
->
data
.
code
);
...
...
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