refac: RankColumn enum 추가, General의 명장 일람 타입 변경

This commit is contained in:
2022-05-08 23:09:27 +09:00
parent 55012fef95
commit 900235885f
16 changed files with 236 additions and 154 deletions
+2 -3
View File
@@ -19,8 +19,7 @@ use function sammo\tryRollbackInheritUniqueItem;
use \sammo\Constraint\Constraint;
use \sammo\Constraint\ConstraintHelper;
use sammo\CityConst;
use sammo\Enums\RankColumn;
class che_화계 extends Command\GeneralCommand
{
@@ -330,7 +329,7 @@ class che_화계 extends Command\GeneralCommand
$general->addExperience($exp);
$general->addDedication($ded);
$general->increaseVar($statType . '_exp', 1);
$general->increaseRankVar('firenum', 1);
$general->increaseRankVar(RankColumn::firenum, 1);
$this->setResultTurn(new LastTurn(static::getName(), $this->arg));
$general->checkStatChange();
tryRollbackInheritUniqueItem($general);