From f258e18481ae61faef2313a93df516226e5e8170 Mon Sep 17 00:00:00 2001 From: radiskull Date: Thu, 8 Aug 2013 15:42:59 +0000 Subject: [PATCH] =?UTF-8?q?lose2=20wurde=20so=20ge=C3=A4ndert,=20das=20die?= =?UTF-8?q?=20GM's=20den=20Manabrand=20selbst=20einstellen=20k=C3=B6nnen?= =?UTF-8?q?=20(wird=20=C3=BCber=20den=20speed=20wert=20geregelt)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cronjob/kampf/lose2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cronjob/kampf/lose2.php b/cronjob/kampf/lose2.php index fb262f9..e4ea6aa 100644 --- a/cronjob/kampf/lose2.php +++ b/cronjob/kampf/lose2.php @@ -16,7 +16,7 @@ if($technick1['type'] == 'lose2') { } else { if($technick1['starke'] >= mt_rand(1,100)) { $schaden_1 = 'Schwächen'; - $k_mp[1] -= $k_mp2[1] * 0.8; + $k_mp[1] -= $k_mp2[1] * ($technick1['speed'] / 100); if($k_mp[1] < 0) { $k_mp[1] = 0; } @@ -37,7 +37,7 @@ if($technick2['type'] == 'lose2') { if($technick2['starke'] >= mt_rand(1,100)) { $schaden_2 = 'Schwächen'; - $k_mp[0] -= $k_mp1[1] * 0.8; + $k_mp[0] -= $k_mp1[1] * ($technick2['speed'] / 100); if($k_mp[0] < 0) { $k_mp[0] = 0; }