diff --git a/hwe/sammo/Command/General/che_화계.php b/hwe/sammo/Command/General/che_화계.php index ce06a2b2..99993fc7 100644 --- a/hwe/sammo/Command/General/che_화계.php +++ b/hwe/sammo/Command/General/che_화계.php @@ -94,6 +94,7 @@ class che_화계 extends Command\GeneralCommand $prob = $maxGenScore / GameConst::$sabotageProbCoefByStat; $prob += $probCorrection; + $prob += sqrt(count($destCityGeneralList)) * GameConst::$sabotageDefenceCoefByGeneralCnt; $prob += $destCity['secu'] / $destCity['secu_max'] / 5; //최대 20%p $prob += $destCity['supply'] ? 0.1 : 0; diff --git a/hwe/sammo/GameConstBase.php b/hwe/sammo/GameConstBase.php index b192a1fa..fa4415a7 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -46,6 +46,8 @@ class GameConstBase public static $sabotageDefaultProb = 0.35; /** @var int 계략시 확률 가중치(수치가 클수록 변화가 적음 : (지력차/$firing + $basefiring)*/ public static $sabotageProbCoefByStat = 300; + /** @var float 인원수 별 계략 방어 가중치 */ + public static $sabotageDefenceCoefByGeneralCnt = 0.05; /** @var int 계략시 최소 수치 감소량*/ public static $sabotageDamageMin = 100; /** @var int 계략시 최대 수치 감소량*/