fix: 고급모드 연구턴 커맨드 창 넘치는 문제
This commit is contained in:
@@ -44,11 +44,13 @@ class event_극병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_대검병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_무희연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_산저병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_상병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_원융노병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_음귀병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_화륜차연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
@@ -43,11 +43,13 @@ class event_화시병연구 extends Command\NationCommand{
|
|||||||
public function getCommandDetailTitle():string{
|
public function getCommandDetailTitle():string{
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
|
|
||||||
[$reqGold, $reqRice] = array_map('number_format', $this->getCost());
|
[$reqGold, $reqRice] = $this->getCost();
|
||||||
$amount = number_format($this->env['develcost'] * 5);
|
|
||||||
$reqTurn = $this->getPreReqTurn()+1;
|
$reqTurn = $this->getPreReqTurn()+1;
|
||||||
|
|
||||||
return "{$name}/{$reqTurn}턴(금 {$reqGold}, 쌀 {$reqRice})";
|
$reqGoldD5 = number_format($reqGold / 10000);
|
||||||
|
$reqRiceD5 = number_format($reqRice / 10000);
|
||||||
|
|
||||||
|
return "{$name}/{$reqTurn}턴(금/쌀 {$reqGoldD5}만)";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPreReqTurn():int{
|
public function getPreReqTurn():int{
|
||||||
|
|||||||
Reference in New Issue
Block a user