OSDN Git Service

[Fix] #40514 calc_rocket_damage_rate() 修正. / Fix calc_time_damage_rate().
authordeskull <deskull@users.sourceforge.jp>
Thu, 17 Sep 2020 15:05:28 +0000 (00:05 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 17 Sep 2020 15:05:28 +0000 (00:05 +0900)
src/player/player-status-resist.c

index 889a9b6..2cddec6 100644 (file)
@@ -320,7 +320,6 @@ PERCENTAGE calc_time_damage_rate(player_type *creature_ptr, rate_calc_type_mode
     if (creature_ptr->resist_time) {
         per *= 400;
         per /= randrate(4, 7, mode);
-        return;
     }
 
     return per;