From 8aae688fb081eb382c31b9d816b35ba228a96779 Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 15 Jul 2020 02:43:00 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/ActionItem/event_전투특기_공성.php | 2 +- hwe/sammo/ActionSpecialWar/che_공성.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);