forked from devsam/core
feat: 벌점 제한 계수를 GameConst로 이동
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
@@ -88,6 +88,8 @@ class GameConstBase
|
||||
/** @var int 최대로 증가하는 수비 설정 변경 제한 수*/
|
||||
public static $maxDefSettingChange = 9;
|
||||
|
||||
/** @var float 벌점 제한 계수 */
|
||||
public static $refreshLimitCoef = 10;
|
||||
|
||||
/** @var int 최대 레벨 */
|
||||
public static $maxLevel = 255;
|
||||
|
||||
Reference in New Issue
Block a user