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
127a2326
Commit
127a2326
authored
Sep 01, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/Fluorohydride/ygopro-core
parents
610842f2
b508337a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
16 deletions
+1
-16
effect.h
effect.h
+1
-1
processor.cpp
processor.cpp
+0
-15
No files found.
effect.h
View file @
127a2326
...
...
@@ -484,7 +484,7 @@ inline effect_flag operator|(effect_flag flag1, effect_flag flag2)
#define EVENT_BATTLE_START 1132
#define EVENT_BATTLE_CONFIRM 1133
#define EVENT_PRE_DAMAGE_CALCULATE 1134
#define EVENT_DAMAGE_CALCULATING 1135
//
#define EVENT_DAMAGE_CALCULATING 1135
#define EVENT_PRE_BATTLE_DAMAGE 1136
//#define EVENT_BATTLE_END 1137
#define EVENT_BATTLED 1138
...
...
processor.cpp
View file @
127a2326
...
...
@@ -3300,15 +3300,6 @@ int32 field::process_battle_command(uint16 step) {
core
.
units
.
begin
()
->
step
=
32
;
return
FALSE
;
}
raise_single_event
(
core
.
attacker
,
0
,
EVENT_DAMAGE_CALCULATING
,
0
,
0
,
0
,
0
,
0
);
if
(
core
.
attack_target
)
raise_single_event
(
core
.
attack_target
,
0
,
EVENT_DAMAGE_CALCULATING
,
0
,
0
,
0
,
0
,
1
);
raise_event
((
card
*
)
0
,
EVENT_DAMAGE_CALCULATING
,
0
,
0
,
0
,
0
,
0
);
process_single_event
();
process_instant_event
();
//this timing does not exist in Master Rule 3
core
.
new_ochain
.
clear
();
core
.
new_fchain
.
clear
();
return
FALSE
;
}
case
26
:
{
...
...
@@ -3699,12 +3690,6 @@ int32 field::process_damage_step(uint16 step, uint32 new_attack) {
}
case
1
:
{
infos
.
phase
=
PHASE_DAMAGE_CAL
;
raise_single_event
(
core
.
attacker
,
0
,
EVENT_DAMAGE_CALCULATING
,
0
,
0
,
0
,
0
,
0
);
if
(
core
.
attack_target
)
raise_single_event
(
core
.
attack_target
,
0
,
EVENT_DAMAGE_CALCULATING
,
0
,
0
,
0
,
0
,
1
);
raise_event
((
card
*
)
0
,
EVENT_DAMAGE_CALCULATING
,
0
,
0
,
0
,
0
,
0
);
process_single_event
();
process_instant_event
();
add_process
(
PROCESSOR_BATTLE_COMMAND
,
26
,
0
,
0
,
0
,
0
);
core
.
units
.
begin
()
->
step
=
2
;
core
.
reserved
=
core
.
units
.
front
();
...
...
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