귀모 확률식을 거꾸로 적어둔 버그 수정...

This commit is contained in:
2018-02-04 01:57:39 +09:00
parent 9744c69f00
commit eef1a2f7cc
+3 -3
View File
@@ -450,7 +450,7 @@ function getSpecial($connect, $leader, $power, $intel) {
$type = array(20, 31);
$special = $type[array_rand($type)];
// 귀모는 50% * 5% = 2.5%
if($special == 31 && randF() < 0.05) {
if($special == 31 && randF() > 0.05) {
$type = array(20, 20);
$special = $type[array_rand($type)];
}
@@ -459,7 +459,7 @@ function getSpecial($connect, $leader, $power, $intel) {
$type = array(10, 11, 12, 31);
$special = $type[array_rand($type)];
// 귀모는 그중에 25% * 10% = 2.5%
if(($special == 30 || $special == 31) && randF() < 0.05) {
if( $special == 31 && randF() > 0.05) {
$type = array(10, 11, 12);
$special = $type[array_rand($type)];
}
@@ -468,7 +468,7 @@ function getSpecial($connect, $leader, $power, $intel) {
$type = array(1, 2, 3, 31);
$special = $type[array_rand($type)];
// 거상, 귀모는 그중에 25% * 10% = 2.5%
if($special == 31 && randF() < 0.05) {
if($special == 31 && randF() > 0.05) {
$type = array(1, 2, 3);
$special = $type[array_rand($type)];
}