diff --git a/hwe/func_process_sabotage.php b/hwe/func_process_sabotage.php index 2b4fec2c..8d6c4003 100644 --- a/hwe/func_process_sabotage.php +++ b/hwe/func_process_sabotage.php @@ -668,7 +668,11 @@ function process_35(&$general) { // 선동 최대 10 $secuAmount = Util::valueFit(Util::randRangeInt(GameConst::$sabotageDamageMin, GameConst::$sabotageDamageMax), null, $destCity['secu']); - $rateAmount = Util::valueFit(Util::randRangeInt(GameConst::$sabotageDamageMin, GameConst::$sabotageDamageMax) / 50, null, $destCity['rate']); + $rateAmount = Util::valueFit( + Util::round(Util::randRangeInt(GameConst::$sabotageDamageMin, GameConst::$sabotageDamageMax) / 50), + null, + $destCity['rate'] + ); $destCity['secu'] -= $secuAmount; $destCity['rate'] -= $rateAmount;