From e24f97fae817e51aee1b0cea930bccf1611bc48a Mon Sep 17 00:00:00 2001 From: lopar Date: Sun, 30 Aug 2020 19:48:39 +0300 Subject: [PATCH] =?UTF-8?q?=D0=95=D1=89=D1=91=20=D0=BD=D0=B5=D0=BC=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D1=83=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20?= =?UTF-8?q?=D0=BC=D1=83=D1=81=D0=BE=D1=80=D0=B0.=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D1=86=D1=8B=20=D0=B8=20=D1=81=D1=83=D0=BD=D0=B4=D1=83=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=81=D0=B3=D0=BE=D1=80=D0=B5=D0=BB=D0=B8.=2014=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2=20=D0=B2=D1=8B=D0=B4=D0=B0?= =?UTF-8?q?=D0=B2=D0=B0=D0=BB=D0=B8=20=D0=BE=D0=B4=D0=BD=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D1=82=D0=B5=20=D0=B6=D0=B5=20=D0=BF=D1=80=D0=B5=D0=B4=D0=BC?= =?UTF-8?q?=D0=B5=D1=82=D1=8B=20=D0=BD=D0=BE=20=D1=81=20=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=BD=D1=8B=D0=BC=D0=B8=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=BE?= =?UTF-8?q?=D0=B2=D1=8B=D0=BC=D0=B8=20=D0=B2=D1=81=D1=82=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0=D0=BC=D0=B8=20=D0=B8=20=D1=80=D0=B0=D0=B7=D0=BD=D1=8B?= =?UTF-8?q?=D0=BC=20=D1=88=D0=B0=D0=BD=D1=81=D0=BE=D0=BC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/admin.php | 8 +- magic/healing.php | 12 +-- magic/larec1.php | 159 ---------------------------------- magic/larec2.php | 166 ------------------------------------ magic/larec3.php | 167 ------------------------------------ magic/larec4.php | 206 --------------------------------------------- magic/sunduk.php | 52 ------------ magic/sunduk1.php | 52 ------------ magic/sunduk2.php | 52 ------------ magic/sunduk3.php | 52 ------------ magic/sunduk4.php | 52 ------------ magic/sunduk5.php | 52 ------------ magic/sunduk6.php | 43 ---------- magic/sunduk7.php | 29 ------- magic/sunduk8.php | 29 ------- magic/sunduk9.php | 29 ------- user_abilities.php | 8 +- 17 files changed, 14 insertions(+), 1154 deletions(-) delete mode 100644 magic/larec1.php delete mode 100644 magic/larec2.php delete mode 100644 magic/larec3.php delete mode 100644 magic/larec4.php delete mode 100644 magic/sunduk.php delete mode 100644 magic/sunduk1.php delete mode 100644 magic/sunduk2.php delete mode 100644 magic/sunduk3.php delete mode 100644 magic/sunduk4.php delete mode 100644 magic/sunduk5.php delete mode 100644 magic/sunduk6.php delete mode 100644 magic/sunduk7.php delete mode 100644 magic/sunduk8.php delete mode 100644 magic/sunduk9.php diff --git a/admin/admin.php b/admin/admin.php index 6899a78..ec4d078 100644 --- a/admin/admin.php +++ b/admin/admin.php @@ -453,8 +453,8 @@ echo "
"; $moj = expa($al['accses']); switch ($_POST['use']) { /* Подключаем строго тот свиток который используем. 36 Свитков править. Мама дорогая! */ - case "cure150": - include("../magic/cure150.php"); + case "healing": + include("../magic/healing.php"); break; case "al_neut_power": include("../magic/al_neut_power.php"); @@ -579,9 +579,9 @@ foreach ($moj as $k => $v) { $script_name = "runmagicf"; $magic_name = "Наложить заклятие форумного молчания"; break; - case "cure150": + case "healing": $script_name = "runmagic1"; - $magic_name = "Лечение(150)"; + $magic_name = "Лечение"; break; case "al_neut_power": $script_name = "RunMagicSelf"; diff --git a/magic/healing.php b/magic/healing.php index d20b7d4..5b421d7 100644 --- a/magic/healing.php +++ b/magic/healing.php @@ -24,12 +24,12 @@ * cure_rep_360.php * c30_100.php * 8cure30.php - * klan/heal20.php - * klan/heal35.php - * klan/heal50.php - * user/heal20.php - * user/heal35.php - * user/heal50.php + * klan/heal20.php user_abilities.php + * klan/heal35.php user_abilities.php + * klan/heal50.php user_abilities.php + * user/heal20.php user_abilities.php + * user/heal35.php user_abilities.php + * user/heal50.php user_abilities.php * */ // Если не в игре - идём нахер. diff --git a/magic/larec1.php b/magic/larec1.php deleted file mode 100644 index 3108970..0000000 --- a/magic/larec1.php +++ /dev/null @@ -1,159 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/larec2.php b/magic/larec2.php deleted file mode 100644 index a25276b..0000000 --- a/magic/larec2.php +++ /dev/null @@ -1,166 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/larec3.php b/magic/larec3.php deleted file mode 100644 index f6b7189..0000000 --- a/magic/larec3.php +++ /dev/null @@ -1,167 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/larec4.php b/magic/larec4.php deleted file mode 100644 index d11e481..0000000 --- a/magic/larec4.php +++ /dev/null @@ -1,206 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk.php b/magic/sunduk.php deleted file mode 100644 index 4b6f89b..0000000 --- a/magic/sunduk.php +++ /dev/null @@ -1,52 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk1.php b/magic/sunduk1.php deleted file mode 100644 index 4c3631b..0000000 --- a/magic/sunduk1.php +++ /dev/null @@ -1,52 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk2.php b/magic/sunduk2.php deleted file mode 100644 index 8288532..0000000 --- a/magic/sunduk2.php +++ /dev/null @@ -1,52 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk3.php b/magic/sunduk3.php deleted file mode 100644 index 1279358..0000000 --- a/magic/sunduk3.php +++ /dev/null @@ -1,52 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk4.php b/magic/sunduk4.php deleted file mode 100644 index 2dde5d9..0000000 --- a/magic/sunduk4.php +++ /dev/null @@ -1,52 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk5.php b/magic/sunduk5.php deleted file mode 100644 index e81750a..0000000 --- a/magic/sunduk5.php +++ /dev/null @@ -1,52 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk6.php b/magic/sunduk6.php deleted file mode 100644 index b3bc38a..0000000 --- a/magic/sunduk6.php +++ /dev/null @@ -1,43 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk7.php b/magic/sunduk7.php deleted file mode 100644 index 967b70a..0000000 --- a/magic/sunduk7.php +++ /dev/null @@ -1,29 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk8.php b/magic/sunduk8.php deleted file mode 100644 index 0208a7c..0000000 --- a/magic/sunduk8.php +++ /dev/null @@ -1,29 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/magic/sunduk9.php b/magic/sunduk9.php deleted file mode 100644 index 2d5c38f..0000000 --- a/magic/sunduk9.php +++ /dev/null @@ -1,29 +0,0 @@ -Открыв СЃСѓРЅРґСѓРє Р’С‹ получили '".$pr_name."'."; -$bet=1; -} diff --git a/user_abilities.php b/user_abilities.php index 7df3c73..1208052 100644 --- a/user_abilities.php +++ b/user_abilities.php @@ -62,8 +62,8 @@ if (in_array($_POST['use'], array_keys($moj))) { $abil = db::c()->query('SELECT abil FROM users WHERE id = ?i', $user->id)->fetch_assoc(); $abil = unserialize($abil['abil']); switch ($_POST['use']) { - case "cure150": - include("./magic/cure150.php"); + case "healing": + include("./magic/healing.php"); break; case "al_neut_power": if ($abil[0] > 0 && $user->align == 2) { @@ -255,9 +255,9 @@ foreach ($moj as $k => $v) { $script_name = "runmagicf"; $magic_name = "Наложить заклятие форумного молчания"; break; - case "cure150": + case "healing": $script_name = "runmagic1"; - $magic_name = "Лечение(150)"; + $magic_name = "Лечение"; break; case "al_neut_power": $script_name = "RunMagicSelf";