diff --git a/hwe/sammo/ActionItem/event_전투특기_공성.php b/hwe/sammo/ActionItem/event_전투특기_공성.php index c7a5477a..fc30fcb0 100644 --- a/hwe/sammo/ActionItem/event_전투특기_공성.php +++ b/hwe/sammo/ActionItem/event_전투특기_공성.php @@ -35,7 +35,7 @@ class event_전투특기_공성 extends \sammo\BaseItem{ public function onCalcStat(General $general, string $statName, $value, $aux=null){ if(\sammo\Util::starts_with($statName, 'dex')){ - $myArmType = 'dex'.GameUnitConst::T_CASTLE; + $myArmType = 'dex'.GameUnitConst::T_SIEGE; $opposeArmType = 'dex'.$aux['opposeType']->armType;; if($aux['isAttacker'] && $opposeArmType === $statName){ return $value + $general->getVar($myArmType); diff --git a/hwe/sammo/ActionSpecialWar/che_공성.php b/hwe/sammo/ActionSpecialWar/che_공성.php index 7da479a0..ca866324 100644 --- a/hwe/sammo/ActionSpecialWar/che_공성.php +++ b/hwe/sammo/ActionSpecialWar/che_공성.php @@ -36,7 +36,7 @@ class che_공성 extends \sammo\BaseSpecial{ public function onCalcStat(General $general, string $statName, $value, $aux=null){ if(\sammo\Util::starts_with($statName, 'dex')){ - $myArmType = 'dex'.GameUnitConst::T_CASTLE; + $myArmType = 'dex'.GameUnitConst::T_SIEGE; $opposeArmType = 'dex'.$aux['opposeType']->armType;; if($aux['isAttacker'] && $opposeArmType === $statName){ return $value + $general->getVar($myArmType);