game: 건국시 확정 유니크, 유산 포인트 250점

This commit is contained in:
2024-06-22 15:41:43 +00:00
parent 5447274aa8
commit c82003f982
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1670,7 +1670,7 @@ function tryUniqueItemLottery(RandUtil $rng, General $general, string $acquireTy
} else if ($acquireType == '랜덤 임관') {
$prob = 1 / ($genCount * $itemTypeCnt / 10 / 2); // 랜임시 2개(10%) 등장(200명중 20명 랜임시도?)
} else if ($acquireType == '건국') {
$prob = 1 / ($genCount * $itemTypeCnt / 10 / 4); // 건국시 4개(20%) 등장(200명시 20국 정도 됨)
$prob = 1; // 건국시 100%
}
$prob *= GameConst::$uniqueTrialCoef;
+1
View File
@@ -202,6 +202,7 @@ class che_건국 extends Command\GeneralCommand
refreshNationStaticInfo();
$general->increaseInheritancePoint(InheritanceKey::active_action, 1);
$general->increaseInheritancePoint(InheritanceKey::unifier, 250);
$this->setResultTurn(new LastTurn(static::getName(), $this->arg));
$general->checkStatChange();
tryUniqueItemLottery(genGenericUniqueRNGFromGeneral($general, static::$actionName), $general, '건국');