Skip to content

Commit

Permalink
Prohibit Bravery On Play for 1D+ cards
Browse files Browse the repository at this point in the history
Closes: #52
  • Loading branch information
APN-Pucky authored Apr 14, 2023
1 parent 6b739ad commit 6a65ccd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,9 +844,9 @@ struct PlayCard
_DEBUG_MSG(1,"%s gets barrier protection %u per turn\n",status_description(status).c_str(),status->skill(Skill::barrier));
status->m_protected += status->skill(Skill::barrier);
}
check_and_perform_bravery(fd,status);
if (status->m_delay == 0)
{
check_and_perform_bravery(fd,status);
check_and_perform_valor(fd, status);
}

Expand Down Expand Up @@ -1304,7 +1304,7 @@ void cooldown_skills(CardStatus * status)
*
* Does not handle these skills for newly summoned units ( i.e. valor, barrier)
**/
void turn_start_phase_update(Field*fd,CardStatus * status)
void turn_start_phase_update(Field*fd, CardStatus * status)
{
//apply Absorb + Triggered\{Valor} Enhances
check_and_perform_early_enhance(fd,status);
Expand Down

0 comments on commit 6a65ccd

Please sign in to comment.