forked from devsam/core
game: 최대 환산 능력치를 300으로 제한
This commit is contained in:
@@ -466,6 +466,8 @@ class General implements iAction
|
||||
|
||||
$this->calcCache[$cKey] = $statValue;
|
||||
|
||||
$statValue = Util::clamp($statValue, 0, GameConst::$maxLevel);
|
||||
|
||||
if ($useFloor) {
|
||||
return Util::toInt($statValue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user