From ea256790ec1563938429717628e382b7c8ed7827 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Thu, 23 Feb 2023 22:59:10 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EA=B3=84=EB=9E=B5=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=8F=84=EC=8B=9C=20=EC=9D=B8=EA=B5=AC=EB=B3=84=20=EB=B0=A9?= =?UTF-8?q?=EC=96=B4=20=EA=B3=84=EC=82=B0=EC=8B=9D=EC=9D=84=20=EC=A0=9C?= =?UTF-8?q?=EA=B3=B1=EA=B7=BC=EC=97=90=EC=84=9C=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20-=20(log(=EC=9E=A5=EC=88=98?= =?UTF-8?q?=EC=88=98=20+=201,=202)=20-=201.25)=20*=200.04=20-=208=EB=AA=85?= =?UTF-8?q?=EA=B9=8C=EC=A7=80=EB=8A=94=20=EA=B8=B0=EC=A1=B4=20=EA=B3=84?= =?UTF-8?q?=EC=82=B0=EC=8B=9D=EA=B3=BC=20=ED=81=B0=20=EC=B0=A8=EC=9D=B4=20?= =?UTF-8?q?=EC=97=86=EC=9D=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Command/General/che_화계.php | 2 +- hwe/sammo/GameConstBase.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/Command/General/che_화계.php b/hwe/sammo/Command/General/che_화계.php index 518b6461..385dd53d 100644 --- a/hwe/sammo/Command/General/che_화계.php +++ b/hwe/sammo/Command/General/che_화계.php @@ -94,7 +94,7 @@ class che_화계 extends Command\GeneralCommand $prob = $maxGenScore / GameConst::$sabotageProbCoefByStat; $prob += $probCorrection; - $prob += (sqrt(count($destCityGeneralList)) - 1) * GameConst::$sabotageDefenceCoefByGeneralCnt; + $prob += (log(count($destCityGeneralList) + 1, 2) - 1.25) * 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 a8865239..dfae9317 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -47,7 +47,7 @@ class GameConstBase /** @var int 계략시 확률 가중치(수치가 클수록 변화가 적음 : (지력차/$firing + $basefiring)*/ public static $sabotageProbCoefByStat = 300; /** @var float 인원수 별 계략 방어 가중치 */ - public static $sabotageDefenceCoefByGeneralCnt = 0.05; + public static $sabotageDefenceCoefByGeneralCnt = 0.04; /** @var int 계략시 최소 수치 감소량*/ public static $sabotageDamageMin = 100; /** @var int 계략시 최대 수치 감소량*/