Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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
fallenstardust
YGOMobile-Cn-Ko-En
Commits
0aff7a0e
Commit
0aff7a0e
authored
Dec 14, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync ocgcore/processor.cpp
parent
a1ae8268
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Classes/gframe/sound_manager.cpp
Classes/gframe/sound_manager.cpp
+1
-1
Classes/ocgcore/processor.cpp
Classes/ocgcore/processor.cpp
+4
-4
No files found.
Classes/gframe/sound_manager.cpp
View file @
0aff7a0e
...
...
@@ -152,7 +152,7 @@ void SoundManager::StopBGM() {
bool
SoundManager
::
PlayChant
(
unsigned
int
code
)
{
CardData
cd
;
if
(
dataManager
.
GetData
(
code
,
&
cd
)
&&
(
cd
.
alias
!=
0
))
code
=
cd
.
alias
;
code
=
cd
.
alias
;
if
(
ChantsList
.
count
(
code
))
{
if
(
bgm
)
{
...
...
Classes/ocgcore/processor.cpp
View file @
0aff7a0e
...
...
@@ -2466,6 +2466,10 @@ int32 field::process_battle_command(uint16 step) {
core
.
attacker
->
set_status
(
STATUS_ATTACK_CANCELED
,
FALSE
);
core
.
attacker
->
attack_controler
=
core
.
attacker
->
current
.
controler
;
core
.
pre_field
[
0
]
=
core
.
attacker
->
fieldid_r
;
if
(
core
.
chain_attack
&&
core
.
chain_attacker_id
!=
core
.
attacker
->
fieldid
)
{
core
.
chain_attack
=
FALSE
;
core
.
chain_attacker_id
=
0
;
}
effect_set
eset
;
filter_player_effect
(
infos
.
turn_player
,
EFFECT_ATTACK_COST
,
&
eset
,
FALSE
);
core
.
attacker
->
filter_effect
(
EFFECT_ATTACK_COST
,
&
eset
);
...
...
@@ -2598,10 +2602,6 @@ int32 field::process_battle_command(uint16 step) {
case
7
:
{
if
(
!
core
.
units
.
begin
()
->
arg1
)
{
core
.
phase_action
=
TRUE
;
if
(
core
.
chain_attack
&&
core
.
chain_attacker_id
!=
core
.
attacker
->
fieldid
)
{
core
.
chain_attack
=
FALSE
;
core
.
chain_attacker_id
=
0
;
}
core
.
attack_state_count
[
infos
.
turn_player
]
++
;
check_card_counter
(
core
.
attacker
,
5
,
infos
.
turn_player
);
core
.
attacker
->
attack_announce_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