diff --git a/src/board.c b/src/board.c index 758f1b2..fc866c1 100644 --- a/src/board.c +++ b/src/board.c @@ -1,4 +1,5 @@ #include "lephisto.h" +#include "log.h" #include "pilot.h" #include "player.h" #include "toolkit.h" @@ -142,9 +143,9 @@ static int board_fail(void) { p = pilot_get(player_target); // Fail chance. - return 0; - if(RNG(0, 100) > (int)(50. * (double)p->ship->crew/(double)player->ship->crew)) - return; + if(RNG(0, 100) > (int)(50. * + (10. + (double)p->ship->crew/10.+(double)player->ship->crew))) + return 0; if(RNG(0, 2)==0) { // 33% of instant death.