From 6a65ccd897a139d5cb19f550ec29ee00dd41e788 Mon Sep 17 00:00:00 2001 From: Alexander Puck Neuwirth Date: Fri, 14 Apr 2023 13:43:49 +0200 Subject: [PATCH] Prohibit Bravery On Play for 1D+ cards Closes: https://github.com/APN-Pucky/tyrant_optimize/issues/52 --- sim.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sim.cpp b/sim.cpp index c8959f86..8560641f 100644 --- a/sim.cpp +++ b/sim.cpp @@ -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); } @@ -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);