game: 숙련도로 얻는 유산 포인트 감소
This commit is contained in:
@@ -1384,9 +1384,15 @@ class General implements iAction
|
|||||||
switch ($key) {
|
switch ($key) {
|
||||||
case 'dex':
|
case 'dex':
|
||||||
$extractFn = function () use ($multiplier) {
|
$extractFn = function () use ($multiplier) {
|
||||||
|
$dexLimit = Util::array_last(getDexLevelList())[0];
|
||||||
$totalDex = 0;
|
$totalDex = 0;
|
||||||
foreach (array_keys(GameUnitConst::allType()) as $armType) {
|
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];
|
return [$totalDex * $multiplier, null];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ const inheritanceViewText: Record<
|
|||||||
},
|
},
|
||||||
dex: {
|
dex: {
|
||||||
title: "숙련도",
|
title: "숙련도",
|
||||||
info: "총 숙련도합입니다.",
|
info: "총 숙련도합입니다. <br>최대 숙련 이후에는 상승량이 1/3로 감소합니다.",
|
||||||
},
|
},
|
||||||
tournament: {
|
tournament: {
|
||||||
title: "토너먼트",
|
title: "토너먼트",
|
||||||
|
|||||||
Reference in New Issue
Block a user