Files
core/hwe/sammo/Command/General/che_모병.php
Hide_D 0975e925a9 use class, function 커맨드를 php8에서 사용할 수 있도록 수정
- \ 토큰 해석 문제
- VSCode 자동 완성 문제로 use function \sammo\{ 를 모두 해제
2021-08-12 22:35:42 +09:00

35 lines
776 B
PHP

<?php
namespace sammo\Command\General;
use \sammo\DB;
use \sammo\Util;
use \sammo\JosaUtil;
use \sammo\General;
use \sammo\ActionLogger;
use \sammo\GameConst;
use \sammo\GameUnitConst;
use \sammo\LastTurn;
use \sammo\Command;
class che_모병 extends che_징병
{
static protected $actionName = '모병';
static protected $costOffset = 2;
static protected $defaultTrain;
static protected $defaultAtmos;
static protected $isInitStatic = false;
protected static function initStatic()
{
static::$defaultTrain = GameConst::$defaultTrainHigh;
static::$defaultAtmos = GameConst::$defaultAtmosHigh;
}
public function getCommandDetailTitle(): string
{
return "{$this->getName()}(통솔경험, 자금×2)";
}
}