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";