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
b1cfaa10
Commit
b1cfaa10
authored
Nov 04, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
STATUS_BATTLE_DESTROYED/STATUS_OPPO_BATTLE
parent
eb6f262f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
processor.cpp
processor.cpp
+6
-6
No files found.
processor.cpp
View file @
b1cfaa10
...
@@ -3594,14 +3594,11 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -3594,14 +3594,11 @@ int32 field::process_battle_command(uint16 step) {
if
(
core
.
attack_target
)
if
(
core
.
attack_target
)
raise_single_event
(
core
.
attack_target
,
0
,
EVENT_DAMAGE_STEP_END
,
0
,
0
,
0
,
0
,
1
);
raise_single_event
(
core
.
attack_target
,
0
,
EVENT_DAMAGE_STEP_END
,
0
,
0
,
0
,
0
,
1
);
raise_event
((
card
*
)
0
,
EVENT_DAMAGE_STEP_END
,
0
,
0
,
0
,
0
,
0
);
raise_event
((
card
*
)
0
,
EVENT_DAMAGE_STEP_END
,
0
,
0
,
0
,
0
,
0
);
process_single_event
();
process_instant_event
();
core
.
attacker
->
set_status
(
STATUS_BATTLE_DESTROYED
,
FALSE
);
core
.
attacker
->
set_status
(
STATUS_BATTLE_DESTROYED
,
FALSE
);
core
.
attacker
->
set_status
(
STATUS_OPPO_BATTLE
,
FALSE
);
if
(
core
.
attack_target
)
if
(
core
.
attack_target
)
{
core
.
attack_target
->
set_status
(
STATUS_BATTLE_DESTROYED
,
FALSE
);
core
.
attack_target
->
set_status
(
STATUS_BATTLE_DESTROYED
,
FALSE
);
core
.
attack_target
->
set_status
(
STATUS_OPPO_BATTLE
,
FALSE
);
process_single_event
(
);
}
process_instant_event
();
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
MSG_HINT
);
pduel
->
write_buffer8
(
HINT_EVENT
);
pduel
->
write_buffer8
(
HINT_EVENT
);
pduel
->
write_buffer8
(
0
);
pduel
->
write_buffer8
(
0
);
...
@@ -3627,6 +3624,9 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -3627,6 +3624,9 @@ int32 field::process_battle_command(uint16 step) {
}
}
case
39
:
{
case
39
:
{
//end of damage step
//end of damage step
core
.
attacker
->
set_status
(
STATUS_OPPO_BATTLE
,
FALSE
);
if
(
core
.
attack_target
)
core
.
attack_target
->
set_status
(
STATUS_OPPO_BATTLE
,
FALSE
);
core
.
units
.
begin
()
->
step
=
-
1
;
core
.
units
.
begin
()
->
step
=
-
1
;
infos
.
phase
=
PHASE_BATTLE
;
infos
.
phase
=
PHASE_BATTLE
;
pduel
->
write_buffer8
(
MSG_DAMAGE_STEP_END
);
pduel
->
write_buffer8
(
MSG_DAMAGE_STEP_END
);
...
...
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