From e7b7fd0bcc5e6523e5f036c6d6f2acaa6486a3b6 Mon Sep 17 00:00:00 2001 From: hide_d Date: Sun, 19 Aug 2018 03:00:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B9=98=EB=A3=8C=EA=B0=80=20=20'=ED=95=84?= =?UTF-8?q?=EC=82=B4',=20'=ED=9A=8C=ED=94=BC'=EC=99=80=20=EC=A4=91?= =?UTF-8?q?=EB=B3=B5=20=EA=B0=80=EB=8A=A5.=20=EC=A0=84=ED=8A=B9=EA=B3=BC?= =?UTF-8?q?=20=EC=9D=98=EC=88=A0=20=EC=95=84=EC=9D=B4=ED=85=9C=EC=9D=98=20?= =?UTF-8?q?=EC=B9=98=EB=A3=8C=20=ED=9A=A8=EA=B3=BC=20=EC=A6=9D=ED=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/WarUnitGeneral.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hwe/sammo/WarUnitGeneral.php b/hwe/sammo/WarUnitGeneral.php index 82e301de..d0c16178 100644 --- a/hwe/sammo/WarUnitGeneral.php +++ b/hwe/sammo/WarUnitGeneral.php @@ -476,6 +476,10 @@ class WarUnitGeneral extends WarUnit{ $specialWar = $this->getSpecialWar(); $item = $this->getItem(); + if($specialWar == 73 && Util::randBool(0.2)){ + $this->activateSkill('치료'); + } + if( !$this->hasActivatedSkill('특수') && Util::randBool($this->getComputedCriticalRatio()) @@ -504,6 +508,14 @@ class WarUnitGeneral extends WarUnit{ $activated = true; } + if( + ($item == 23 || $item == 24) && + !$this->hasActivatedSkill('치료') && + Util::randBool(0.2) + ){ + $this->activateSkill('치료'); + } + return $activated; }