Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Jul 11, 2023
1 parent 83d1724 commit adb0222
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [6.5.0] - 2023-07-11

- Updated Subdue skill now cancels an attack, if subdue reduces the attack to 0
- Updated Subdue skill now cancels an attack, if subdue reduces the attack to 0
- Update corrosive skill
- Added options `update-corrosive-protect-armor` and `no-update-corrosive-protect-armor` to toggle new behaviour (default: updated)

Expand Down
1 change: 1 addition & 0 deletions sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1608,6 +1608,7 @@ struct PerformAttack
{
unsigned pre_modifier_dmg = att_status->attack_power();
// Bug fix? 2023-04-03 a card with zero attack power can not attack and won't trigger subdue
// Confirmed subdue behaviour by MK 2023-07-12
if(pre_modifier_dmg == 0) { return 0; }


Expand Down
2 changes: 1 addition & 1 deletion sim.h
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ struct CardStatus
const Card* m_card;
unsigned m_index;
unsigned m_action_index;
Field* m_field;
Field* m_field; // only needed for fixes/updated skills in attack power calculation
unsigned m_player;
unsigned m_delay;
unsigned m_hp;
Expand Down

0 comments on commit adb0222

Please sign in to comment.