특기 등장 확률을 randF가 아닌 randBool로 변경

This commit is contained in:
2018-02-09 02:13:36 +09:00
parent 4b414c0879
commit d8a39290f6
+3 -3
View File
@@ -156,7 +156,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 && randBool(0.95)) {
$special = 20;
}
//무장
@@ -164,7 +164,7 @@ function getSpecial($connect, $leader, $power, $intel) {
$type = array(10, 11, 12, 31);
$special = $type[array_rand($type)];
// 귀모는 그중에 25% * 10% = 2.5%
if($special == 31 && randF() > 0.1) {
if($special == 31 && randBool(0.9)) {
$type = array(10, 11, 12);
$special = $type[array_rand($type)];
}
@@ -173,7 +173,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.1) {
if($special == 31 && randBool(0.9)) {
$type = array(1, 2, 3);
$special = $type[array_rand($type)];
}