feat: 요술, 빠진 부분 채우기

This commit is contained in:
2023-12-25 15:45:02 +00:00
parent 05eb4366b1
commit 4edb994ac9
10 changed files with 165 additions and 4 deletions
@@ -32,6 +32,9 @@ class g65_접경귀환 extends Command\UserActionCommand
protected function init()
{
$this->setCity();
$this->setNation();
$this->fullConditionConstraints = [
ConstraintHelper::NotBeNeutral(),
ConstraintHelper::NotWanderingNation(),
@@ -94,8 +97,10 @@ class g65_접경귀환 extends Command\UserActionCommand
$destCityID = $rng->choice($nearestCityList);
$destCityName = CityConst::byID($destCityID)->name;
$date = $general->getTurnTime($general::TURNTIME_HM);
$josaRo = JosaUtil::pick($destCityName, '로');
$logger->pushGeneralActionLog("<G><b>{$destCityName}</b></>{$josaRo} 접경귀환했습니다.");
$logger->pushGeneralActionLog("<G><b>{$destCityName}</b></>{$josaRo} 접경귀환했습니다. <1>$date</>");
$general->setVar('city', $destCityID);
$general->applyDB($db);