모반 구현

This commit is contained in:
2018-11-15 03:42:55 +09:00
parent c3699a8595
commit 068d384e7a
2 changed files with 20 additions and 22 deletions
-3
View File
@@ -109,9 +109,6 @@ class che_선양 extends Command\GeneralCommand{
'gen3'=>0
], 'gen3=%i', $destGeneral->getID());
$destGeneral->increaseVarWithLimit($resKey, $amount);
$general->increaseVarWithLimit($resKey, -$amount, 0);
$josaYi = JosaUtil::pick($generalName, '이');
$logger->pushGlobalHistoryLog("<Y><b>【선양】</b></><Y>{$generalName}</>{$josaYi} <D><b>{$nationName}</b></>의 군주 자리를 <Y>{$destGeneralName}</>에게 선양했습니다.");
$logger->pushNationalHistoryLog("<Y>{$generalName}</>{$josaYi} <Y>{$destGeneralName}</>에게 선양");