귀모 확률식을 거꾸로 적어둔 버그 수정...
This commit is contained in:
+3
-3
@@ -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)];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user