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

This commit is contained in:
포스트모더니즘
2023-10-29 09:05:29 +09:00
parent 96c5f987d6
commit c5ed2d47fc
+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;
}