diff --git a/hwe/sammo/API/InheritAction/ResetStat.php b/hwe/sammo/API/InheritAction/ResetStat.php
index e0eae16b..bb18f8a0 100644
--- a/hwe/sammo/API/InheritAction/ResetStat.php
+++ b/hwe/sammo/API/InheritAction/ResetStat.php
@@ -4,6 +4,7 @@ namespace sammo\API\InheritAction;
use sammo\Session;
use DateTimeInterface;
+use sammo\CentennialAllStarGrowthService;
use sammo\DB;
use sammo\Enums\APIRecoveryType;
use sammo\Enums\RankColumn;
@@ -98,6 +99,10 @@ class ResetStat extends \sammo\BaseAPI
return 'NPC는 능력치 초기화를 할 수 없습니다.';
}
+ if (!CentennialAllStarGrowthService::isStatResetAllowed()) {
+ return '100기 올스타 장수는 능력치 초기화를 사용할 수 없습니다.';
+ }
+
$db = DB::db();
$gameStor = KVStorage::getStorage($db, 'game_env');
diff --git a/hwe/sammo/CentennialAllStarGrowthService.php b/hwe/sammo/CentennialAllStarGrowthService.php
index 26228888..f8c46eb5 100644
--- a/hwe/sammo/CentennialAllStarGrowthService.php
+++ b/hwe/sammo/CentennialAllStarGrowthService.php
@@ -19,6 +19,11 @@ final class CentennialAllStarGrowthService
return GameConst::$targetGeneralPool === self::POOL_CLASS;
}
+ public static function isStatResetAllowed(): bool
+ {
+ return !self::isActive();
+ }
+
public static function initialAux(array $targetInfo, ?array $userInitialStats = null): array
{
$granted = array_fill_keys(array_merge(self::STAT_KEYS, self::DEX_KEYS), 0);
diff --git a/hwe/ts/PageInheritPoint.vue b/hwe/ts/PageInheritPoint.vue
index 57756e98..246e321d 100644
--- a/hwe/ts/PageInheritPoint.vue
+++ b/hwe/ts/PageInheritPoint.vue
@@ -172,7 +172,7 @@