game: 계략 성공률 한도를 50%로 제한
This commit is contained in:
@@ -281,6 +281,7 @@ class che_화계 extends Command\GeneralCommand
|
||||
|
||||
$prob = GameConst::$sabotageDefaultProb + $this->calcSabotageAttackProb() - $this->calcSabotageDefenceProb($destCityGeneralList);
|
||||
$prob /= $dist;
|
||||
$prob = Util::valueFit($prob, 0, 0.5);
|
||||
|
||||
if (!Util::randBool($prob)) {
|
||||
$josaYi = JosaUtil::pick($commandName, '이');
|
||||
|
||||
Reference in New Issue
Block a user