장수 수 적용 관련 변경

This commit is contained in:
2020-05-09 23:09:36 +09:00
parent 8eb2380542
commit d083dc36b2
8 changed files with 43 additions and 12 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ if (!$city) {
$pleadership = 0;
$pstrength = 0;
$pintel = 0;
for ($statBonusCnt = 3 + mt_rand(0, 2); $statBonusCnt > 0; $statBonusCnt--) {
foreach(Util::range(Util::randRangeInt(3, 5)) as $statIdx){
switch (Util::choiceRandomUsingWeight([$leadership, $strength, $intel])) {
case 0:
$pleadership++;