game: 계략 성공률을 5%p 하향
- 계략 성공률에 인구수를 반영하기 이전과 비교하여 1명있을 때에는 동일 - 한명도 없을때는 5%p 상승 - 두명 이상일 때에는 이전 대비 성공률 하향
This commit is contained in:
@@ -94,7 +94,7 @@ class che_화계 extends Command\GeneralCommand
|
||||
|
||||
$prob = $maxGenScore / GameConst::$sabotageProbCoefByStat;
|
||||
$prob += $probCorrection;
|
||||
$prob += sqrt(count($destCityGeneralList)) * GameConst::$sabotageDefenceCoefByGeneralCnt;
|
||||
$prob += (sqrt(count($destCityGeneralList)) - 1) * GameConst::$sabotageDefenceCoefByGeneralCnt;
|
||||
|
||||
$prob += $destCity['secu'] / $destCity['secu_max'] / 5; //최대 20%p
|
||||
$prob += $destCity['supply'] ? 0.1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user