From 81561e556cc382fbdacd8dd58a7984f2a8022d4f Mon Sep 17 00:00:00 2001 From: "Igor Barkov (iwork)" Date: Mon, 25 Jan 2021 20:09:34 +0200 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BA=D1=80=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D0=B5=D1=82=20=D0=BE=D0=B4=D0=BD=D1=83=20=D0=B7=D0=B0=D0=B4?= =?UTF-8?q?=D0=B0=D1=87=D1=83=20=D0=B2=20#24.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- magic/Healing.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/magic/Healing.php b/magic/Healing.php index 0364e9a..2a58df8 100644 --- a/magic/Healing.php +++ b/magic/Healing.php @@ -1,7 +1,8 @@ target = new User($this->target); } - return ($this->isVisible($caster, $this->target) && $this->isNotDead($caster) && $this->enoughMana($caster)); + return $this->isVisible($caster, $this->target) && $this->isNotDead($caster) && $this->enoughMana($caster) && $this->skillCheck($caster); } }