fix: 스탯 계산 시에 캐시 사용하는 부분 수정 시도 #241

Merged
Hide_D merged 2 commits from jyp9/core:stat_cache_fix into devel 2024-02-17 00:01:49 +09:00
+2 -2
View File
@@ -365,14 +365,14 @@ class General extends GeneralBase implements iAction
}
}
$this->calcCache[$cKey] = $statValue;
$statValue = Util::clamp($statValue, 0, GameConst::$maxLevel);
if ($useFloor) {
return Util::toInt($statValue);
}
$this->calcCache[$cKey] = $statValue;
return $statValue;
}