refac: 유산 포인트 파트를 별도의 Manager로 분리, enum 적용

This commit is contained in:
2022-05-08 04:40:36 +09:00
parent f7776d5067
commit eff79c4778
35 changed files with 463 additions and 345 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
namespace sammo;
use sammo\Enums\InheritanceKey;
use \Symfony\Component\Lock;
class TurnExecutionHelper
@@ -260,7 +261,7 @@ class TurnExecutionHelper
$autorunMode = false;
$ai = null;
$general->increaseInheritancePoint('lived_month', 1);
$general->increaseInheritancePoint(InheritanceKey::lived_month, 1);
$turnObj->preprocessCommand($env);