feat: -60 turnterm 가변턴

This commit is contained in:
Hide_D committed 2025-10-29 17:24:25 +00:00
1 parent d5b2d4e1f2
commit b7c7d6ffce
37 files changed
+424 -61

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ abstract class AbsFromUserPool extends AbsGeneralPool{
$gameStor = KVStorage::getStorage($db, 'game_env');
$result = [];
$validUntil = TimeUtil::nowAddMinutes(2 * $gameStor->turnterm);
$validUntil = TimeUtil::nowAddMinutes(2 * abs($gameStor->turnterm));
while(count($result) < $pickCnt){
$cand = $rng->choiceUsingWeightPair($pool);
$poolID = $cand['id'];