feat: 벌점 제한 계수를 GameConst로 이동

This commit is contained in:
2024-09-18 15:10:34 +00:00
parent 9cc27c40aa
commit 34b1fc9c5e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -1107,7 +1107,7 @@ function CheckOverhead()
$gameStor = KVStorage::getStorage($db, 'game_env');
[$turnterm, $refreshLimit] = $gameStor->getValuesAsArray(['turnterm', 'refreshLimit']);
$nextRefreshLimit = Util::round(pow($turnterm, 0.6) * 3) * 10;
$nextRefreshLimit = Util::round(pow($turnterm, 0.6) * 3) * GameConst::$refreshLimitCoef;
if ($nextRefreshLimit != $refreshLimit) {
+2
View File
@@ -88,6 +88,8 @@ class GameConstBase
/** @var int 최대로 증가하는 수비 설정 변경 제한 수*/
public static $maxDefSettingChange = 9;
/** @var float 벌점 제한 계수 */
public static $refreshLimitCoef = 10;
/** @var int 최대 레벨 */
public static $maxLevel = 255;