From 664c24ff1e827368374d944807aef4da4c425213 Mon Sep 17 00:00:00 2001 From: Ivor Barhansky Date: Fri, 9 Feb 2024 19:30:22 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=87=D0=B5=D1=82=D1=87=D0=B8=D0=BA=20?= =?UTF-8?q?=D1=85=D0=BE=D0=B4=D0=BE=D0=B2=20=D0=BB=D0=B5=D0=B6=D0=B0=D0=BB?= =?UTF-8?q?=20=D0=B2=20=D0=BB=D0=BE=D0=B3=D0=B3=D0=B5=D1=80=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _incl_data/class/Battle.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_incl_data/class/Battle.php b/_incl_data/class/Battle.php index 20eb8ccd..7a2e42db 100644 --- a/_incl_data/class/Battle.php +++ b/_incl_data/class/Battle.php @@ -2213,6 +2213,8 @@ JS; // Обновляем НР и добавляем тактики $at = $this->updateHealth($id, $at); + $this->hodID++; + // Заносим в логи + записываем статистику боя $this->addlogRazmen($id, $at); var_dump($at); @@ -4111,7 +4113,7 @@ JS; private function addlogRazmen($id, $at): void { - $this->hodID++; + $dies = [ 1 => 0,