fix: 스탯 계산 시에 캐시 사용하는 부분 수정 시도 #241
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user