From 776e16b58b8ad43873770fe71758b5a3b79bcfdf Mon Sep 17 00:00:00 2001 From: hide_d Date: Mon, 7 May 2018 12:39:03 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=99=EC=9D=98=20=EC=84=A0=ED=83=9D=20?= =?UTF-8?q?=EB=8C=80=EA=B8=B0=20=EC=8B=9C=EA=B0=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/j_get_select_npc_token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwe/j_get_select_npc_token.php b/hwe/j_get_select_npc_token.php index 613eff5d..93de3b31 100644 --- a/hwe/j_get_select_npc_token.php +++ b/hwe/j_get_select_npc_token.php @@ -119,7 +119,7 @@ while(count($pickResult) < $pickLimit){ $newNonce = mt_rand(0, 0xfffffff); $validSecond = max(VALID_SECOND, $turnterm*40); -$pickMoreSecond = max(PICK_MORE_SECOND, $turnterm*10); +$pickMoreSecond = max(PICK_MORE_SECOND, Util::round(pow($turnterm, 0.672)*8)); $validUntil = $oNow->add(new \DateInterval(sprintf('PT%dS', $validSecond))); $pickMoreFrom = $oNow->add(new \DateInterval(sprintf('PT%dS', $pickMoreSecond)));