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
9ffc3d60
Commit
9ffc3d60
authored
Jan 06, 2016
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core.chain_attack
parent
954880b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
processor.cpp
processor.cpp
+2
-1
No files found.
processor.cpp
View file @
9ffc3d60
...
@@ -3076,6 +3076,7 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -3076,6 +3076,7 @@ int32 field::process_battle_command(uint16 step) {
}
}
if
(
atk_disabled
||
!
core
.
attacker
->
is_capable_attack
()
||
core
.
attacker
->
is_status
(
STATUS_ATTACK_CANCELED
)
if
(
atk_disabled
||
!
core
.
attacker
->
is_capable_attack
()
||
core
.
attacker
->
is_status
(
STATUS_ATTACK_CANCELED
)
||
core
.
attacker
->
current
.
controler
!=
acon
||
core
.
attacker
->
fieldid_r
!=
afid
)
{
||
core
.
attacker
->
current
.
controler
!=
acon
||
core
.
attacker
->
fieldid_r
!=
afid
)
{
core
.
chain_attack
=
FALSE
;
if
(
core
.
attacker
->
fieldid_r
==
afid
)
{
if
(
core
.
attacker
->
fieldid_r
==
afid
)
{
core
.
attacker
->
announce_count
++
;
core
.
attacker
->
announce_count
++
;
core
.
attacker
->
announced_cards
.
addcard
(
core
.
attack_target
);
core
.
attacker
->
announced_cards
.
addcard
(
core
.
attack_target
);
...
@@ -4095,7 +4096,7 @@ int32 field::process_turn(uint16 step, uint8 turn_player) {
...
@@ -4095,7 +4096,7 @@ int32 field::process_turn(uint16 step, uint8 turn_player) {
return
FALSE
;
return
FALSE
;
}
}
case
12
:
{
case
12
:
{
if
(
core
.
units
.
begin
()
->
arg2
==
0
&&
returns
.
ivalue
[
1
])
{
// 2nd Battle
Step
if
(
core
.
units
.
begin
()
->
arg2
==
0
&&
returns
.
ivalue
[
1
])
{
// 2nd Battle
Phase
core
.
units
.
begin
()
->
arg2
=
1
;
core
.
units
.
begin
()
->
arg2
=
1
;
core
.
units
.
begin
()
->
step
=
8
;
core
.
units
.
begin
()
->
step
=
8
;
for
(
uint8
p
=
0
;
p
<
2
;
++
p
)
{
for
(
uint8
p
=
0
;
p
<
2
;
++
p
)
{
...
...
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