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
5694c8b5
Commit
5694c8b5
authored
Oct 28, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set STATUS_DESTROY_CONFIRMED before replacing battle destroy
parent
0b4aef4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
processor.cpp
processor.cpp
+2
-0
No files found.
processor.cpp
View file @
5694c8b5
...
@@ -3431,6 +3431,7 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -3431,6 +3431,7 @@ int32 field::process_battle_command(uint16 step) {
dest &= 0xffff;
dest &= 0xffff;
}
}
core.attacker->operation_param = (POS_FACEUP << 24) + (((uint32)core.attacker->owner) << 16) + (dest << 8) + seq;
core.attacker->operation_param = (POS_FACEUP << 24) + (((uint32)core.attacker->owner) << 16) + (dest << 8) + seq;
core.attacker->set_status(STATUS_DESTROY_CONFIRMED, TRUE);
}
}
if(core.attack_target && core.attack_target->is_status(STATUS_BATTLE_RESULT)
if(core.attack_target && core.attack_target->is_status(STATUS_BATTLE_RESULT)
&& core.attack_target->current.location == LOCATION_MZONE && core.attack_target->fieldid_r == core.pre_field[1]) {
&& core.attack_target->current.location == LOCATION_MZONE && core.attack_target->fieldid_r == core.pre_field[1]) {
...
@@ -3451,6 +3452,7 @@ int32 field::process_battle_command(uint16 step) {
...
@@ -3451,6 +3452,7 @@ int32 field::process_battle_command(uint16 step) {
dest &= 0xffff;
dest &= 0xffff;
}
}
core.attack_target->operation_param = (POS_FACEUP << 24) + (((uint32)core.attack_target->owner) << 16) + (dest << 8) + seq;
core.attack_target->operation_param = (POS_FACEUP << 24) + (((uint32)core.attack_target->owner) << 16) + (dest << 8) + seq;
core.attack_target->set_status(STATUS_DESTROY_CONFIRMED, TRUE);
}
}
core.attacker->set_status(STATUS_BATTLE_RESULT, FALSE);
core.attacker->set_status(STATUS_BATTLE_RESULT, FALSE);
if(core.attack_target)
if(core.attack_target)
...
...
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