숙련전환 효율 향상

This commit is contained in:
2020-06-06 14:33:21 +09:00
parent cbe8b4012b
commit 8ca365da7b
@@ -169,7 +169,7 @@ class che_숙련전환 extends Command\GeneralCommand
$logger = $general->getLogger(); $logger = $general->getLogger();
$srcDex = $general->getVar('dex' . $this->srcArmType); $srcDex = $general->getVar('dex' . $this->srcArmType);
$cutDex = Util::toInt($srcDex * 0.25); $cutDex = Util::toInt($srcDex * 0.4);
$cutDexText = number_format($cutDex); $cutDexText = number_format($cutDex);
$addDex = Util::toInt($cutDex * 9 / 10); $addDex = Util::toInt($cutDex * 9 / 10);
$addDexText = number_format($addDex); $addDexText = number_format($addDex);
@@ -207,7 +207,7 @@ class che_숙련전환 extends Command\GeneralCommand
foreach (GameUnitConst::allType() as $armType => $armName) { foreach (GameUnitConst::allType() as $armType => $armName) {
$dexVal = $general->getVar('dex' . $armType); $dexVal = $general->getVar('dex' . $armType);
$dexValText = number_format($dexVal); $dexValText = number_format($dexVal);
$cutDex = Util::toInt($dexVal * 0.25); $cutDex = Util::toInt($dexVal * 0.4);
$addDex = Util::toInt($cutDex * 9 / 10); $addDex = Util::toInt($cutDex * 9 / 10);
$addDexText = number_format($addDex); $addDexText = number_format($addDex);
$newDex = $dexVal - $cutDex; $newDex = $dexVal - $cutDex;
@@ -220,7 +220,7 @@ class che_숙련전환 extends Command\GeneralCommand
ob_start(); ob_start();
?> ?>
본인의 특정 병종 숙련을 25% 줄이고, 줄어든 숙련 중 9/10(90%p)를 다른 병종 숙련으로 전환합니다.<br> 본인의 특정 병종 숙련을 40% 줄이고, 줄어든 숙련 중 9/10(90%p)를 다른 병종 숙련으로 전환합니다.<br>
<select class='formInput' name="srcArmType" id="srcArmType" size='1' style='color:white;background-color:black;'> <select class='formInput' name="srcArmType" id="srcArmType" size='1' style='color:white;background-color:black;'>
<?php foreach ($dexSrcTexts as $armType => $infoText) : ?> <?php foreach ($dexSrcTexts as $armType => $infoText) : ?>