버그 수정, 구조 변경

This commit is contained in:
2019-04-28 03:49:03 +09:00
parent ab47f40ee1
commit 99e6a2676b
52 changed files with 140 additions and 165 deletions
+2 -2
View File
@@ -166,8 +166,8 @@ class che_첩보 extends Command\GeneralCommand{
$exp = Util::randRangeInt(1, 100);
$ded = Util::randRangeInt(1, 70);
$exp = $general->onPreGeneralStatUpdate($general, 'experience', $exp);
$ded = $general->onPreGeneralStatUpdate($general, 'dedication', $ded);
$exp = $general->onCalcStat($general, 'experience', $exp);
$ded = $general->onCalcStat($general, 'dedication', $ded);
[$reqGold, $reqRice] = $this->getCost();
$general->increaseVarWithLimit('gold', -$reqGold, 0);