From 5b19c24f84b41500db05d37b759a3647621fcbb8 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Wed, 18 May 2022 17:28:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=95=84=EC=82=B4=20=EB=B9=84=EA=B8=89?= =?UTF-8?q?=20=ED=8C=A8=EC=B9=98=20=EB=88=84=EB=9D=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/ActionItem/event_전투특기_필살.php | 7 ++++++- hwe/sammo/ActionSpecialDomestic/che_event_필살.php | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/ActionItem/event_전투특기_필살.php b/hwe/sammo/ActionItem/event_전투특기_필살.php index a606819a..26cf530e 100644 --- a/hwe/sammo/ActionItem/event_전투특기_필살.php +++ b/hwe/sammo/ActionItem/event_전투특기_필살.php @@ -11,7 +11,7 @@ class event_전투특기_필살 extends \sammo\BaseItem{ protected $rawName = '비급'; protected $name = '비급(필살)'; - protected $info = '[전투] 필살 확률 +30%p, 필살 발동시 대상 회피 불가'; + protected $info = '[전투] 필살 확률 +30%p, 필살 발동시 대상 회피 불가, 필살 계수 항상 최대'; protected $cost = 100; protected $buyable = true; protected $consumable = false; @@ -21,6 +21,11 @@ class event_전투특기_필살 extends \sammo\BaseItem{ if($statName === 'warCriticalRatio'){ return $value + 0.3; } + if($statName === 'criticalDamageRange'){ + [, $rangeMax] = $value; + return [$rangeMax, $rangeMax]; + } + return $value; } diff --git a/hwe/sammo/ActionSpecialDomestic/che_event_필살.php b/hwe/sammo/ActionSpecialDomestic/che_event_필살.php index a046f712..a3b5eec5 100644 --- a/hwe/sammo/ActionSpecialDomestic/che_event_필살.php +++ b/hwe/sammo/ActionSpecialDomestic/che_event_필살.php @@ -11,7 +11,7 @@ class che_event_필살 extends \sammo\BaseSpecial{ protected $id = 71; protected $name = '필살'; - protected $info = '[전투] 필살 확률 +30%p, 필살 발동시 대상 회피 불가'; + protected $info = '[전투] 필살 확률 +30%p, 필살 발동시 대상 회피 불가, 필살 계수 항상 최대'; static $selectWeightType = SpecialityHelper::WEIGHT_NORM; static $selectWeight = 1; @@ -25,6 +25,11 @@ class che_event_필살 extends \sammo\BaseSpecial{ if($statName === 'warCriticalRatio'){ return $value + 0.30; } + if($statName === 'criticalDamageRange'){ + [, $rangeMax] = $value; + return [$rangeMax, $rangeMax]; + } + return $value; }