game: 계략 성공률 한도를 50%로 제한
This commit is contained in:
1 parent
116a9577b9
commit
0cf5538635
1 file changed
+1
@@ -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