game: 숙련도로 얻는 유산 포인트 감소

This commit is contained in:
2022-02-23 00:21:02 +09:00
parent 2d491dd393
commit 5f36143b44
2 changed files with 8 additions and 2 deletions
+7 -1
View File
@@ -1384,9 +1384,15 @@ class General implements iAction
switch ($key) {
case 'dex':
$extractFn = function () use ($multiplier) {
$dexLimit = Util::array_last(getDexLevelList())[0];
$totalDex = 0;
foreach (array_keys(GameUnitConst::allType()) as $armType) {
$totalDex += $this->getVar("dex{$armType}");
$subDex = $this->getVar("dex{$armType}");
if($subDex > $dexLimit){
$totalDex += ($subDex - $dexLimit) / 3;
$subDex = $dexLimit;
}
$totalDex += $subDex;
}
return [$totalDex * $multiplier, null];
};
+1 -1
View File
@@ -341,7 +341,7 @@ const inheritanceViewText: Record<
},
dex: {
title: "숙련도",
info: "총 숙련도합입니다.",
info: "총 숙련도합입니다. <br>최대 숙련 이후에는 상승량이 1/3로 감소합니다.",
},
tournament: {
title: "토너먼트",