내특 확률 잘못 적은 부분 추가 수정

This commit is contained in:
2018-02-04 02:07:45 +09:00
parent eef1a2f7cc
commit 79cd47ac14
+3 -4
View File
@@ -451,15 +451,14 @@ function getSpecial($connect, $leader, $power, $intel) {
$special = $type[array_rand($type)];
// 귀모는 50% * 5% = 2.5%
if($special == 31 && randF() > 0.05) {
$type = array(20, 20);
$special = $type[array_rand($type)];
$special = 20;
}
//무장
} elseif($power >= $intel) {
$type = array(10, 11, 12, 31);
$special = $type[array_rand($type)];
// 귀모는 그중에 25% * 10% = 2.5%
if( $special == 31 && randF() > 0.05) {
if( $special == 31 && randF() > 0.1) {
$type = array(10, 11, 12);
$special = $type[array_rand($type)];
}
@@ -468,7 +467,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.1) {
$type = array(1, 2, 3);
$special = $type[array_rand($type)];
}