fix: 연구 커맨드에 금쌀 표기 없음

This commit is contained in:
Hide_D committed 2025-01-23 17:20:10 +00:00
1 parent be8f1fff96
commit dcbefa1a96
9 files changed
+90

No files matched your search

@@ -34,6 +34,16 @@ class event_음귀병연구 extends Command\NationCommand{
];
}
public function getCommandDetailTitle():string{
$name = $this->getName();
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
$amount = number_format($this->env['develcost'] * 5);
$reqTurn = $this->getPreReqTurn()+1;
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
}
public function getPreReqTurn():int{
return 11;
}