diff --git a/hwe/sammo/GameConstBase.php b/hwe/sammo/GameConstBase.php index 168915a6..ea528042 100644 --- a/hwe/sammo/GameConstBase.php +++ b/hwe/sammo/GameConstBase.php @@ -226,7 +226,7 @@ class GameConstBase public static $inheritResetAttrPointBase = [1000, 1000, 2000, 3000];//필요하면 늘려서 쓰기 /** @var ?string */ - public static $scenarioEffectName = null; + public static $scenarioEffect = null; public static $allItems = [ 'horse' => [ diff --git a/hwe/sammo/General.php b/hwe/sammo/General.php index 8f8b90bf..3610c49a 100644 --- a/hwe/sammo/General.php +++ b/hwe/sammo/General.php @@ -112,8 +112,8 @@ class General extends GeneralBase implements iAction $this->inheritBuffObj = new TriggerInheritBuff($rawInheritBuff); } - if(GameConst::$scenarioEffectName){ - $this->scenarioEffect = buildScenarioEffectClass(GameConst::$scenarioEffectName); + if(GameConst::$scenarioEffect){ + $this->scenarioEffect = buildScenarioEffectClass(GameConst::$scenarioEffect); } }