숙련 전환 효율 향상
This commit is contained in:
@@ -169,9 +169,9 @@ 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.3);
|
$cutDex = Util::toInt($srcDex * 0.25);
|
||||||
$cutDexText = number_format($cutDex);
|
$cutDexText = number_format($cutDex);
|
||||||
$addDex = Util::toInt($cutDex * 2 / 3);
|
$addDex = Util::toInt($cutDex * 9 / 10);
|
||||||
$addDexText = number_format($addDex);
|
$addDexText = number_format($addDex);
|
||||||
|
|
||||||
$general->increaseVar('dex' . $this->srcArmType, -$cutDex);
|
$general->increaseVar('dex' . $this->srcArmType, -$cutDex);
|
||||||
@@ -207,8 +207,8 @@ 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.3);
|
$cutDex = Util::toInt($dexVal * 0.25);
|
||||||
$addDex = Util::toInt($cutDex * 2 / 3);
|
$addDex = Util::toInt($cutDex * 9 / 10);
|
||||||
$addDexText = number_format($addDex);
|
$addDexText = number_format($addDex);
|
||||||
$newDex = $dexVal - $cutDex;
|
$newDex = $dexVal - $cutDex;
|
||||||
$beforeDexLevel = getDexCall($dexVal);
|
$beforeDexLevel = getDexCall($dexVal);
|
||||||
@@ -220,7 +220,7 @@ class che_숙련전환 extends Command\GeneralCommand
|
|||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
?>
|
?>
|
||||||
본인의 특정 병종 숙련을 30% 줄이고, 줄어든 숙련 중 2/3(20%p)를 다른 병종 숙련으로 전환합니다.<br>
|
본인의 특정 병종 숙련을 25% 줄이고, 줄어든 숙련 중 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) : ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user