From b3719f7166ea86b56747a1f3d33fbceef3e7116d Mon Sep 17 00:00:00 2001 From: hide_d Date: Wed, 9 Sep 2020 14:20:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EA=B7=B9=20=EC=97=B0=EC=86=8D=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9=20=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/che_저격_수극.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/hwe/sammo/ActionItem/che_저격_수극.php b/hwe/sammo/ActionItem/che_저격_수극.php index 5f2cb6e8..9a31fc5a 100644 --- a/hwe/sammo/ActionItem/che_저격_수극.php +++ b/hwe/sammo/ActionItem/che_저격_수극.php @@ -22,7 +22,14 @@ class che_저격_수극 extends \sammo\BaseItem{ public function getBattleInitSkillTriggerList(WarUnit $unit):?WarUnitTriggerCaller{ return new WarUnitTriggerCaller( new che_저격시도($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM, 0.5, 20, 40), - new che_저격발동($unit) + new che_저격발동($unit, BaseWarUnitTrigger::TYPE_CONSUMABLE_ITEM) ); } + + function isConsumableNow(string $actionType, string $command):bool{ + if($actionType == 'GeneralTrigger' && $command == 'che_아이템치료'){ + return true; + } + return false; + } } \ No newline at end of file