Переделка класса Item под новую базу.

This commit is contained in:
Igor Barkov (iwork)
2020-07-21 18:03:46 +03:00
parent bc40aa5004
commit 12feda506a
5 changed files with 151 additions and 216 deletions

View File

@@ -563,7 +563,7 @@ if (input::post('setshadow')) {
die();
}
if (input::get('edit')) {
if (isset($_GET['edit'])) {
if (input::get('ups')) {
addOnePoint(input::get('ups'), 'stat');
@@ -573,9 +573,9 @@ if (input::get('edit')) {
addOnePoint(input::get('upm'), 'mastery');
}
if (input::get('drop')) {
dropitem(input::get('drop'));
updstats();
if (isset($_GET['drop'])) {
$items = new DressedItems($_SESSION['uid']);
$items->undressItem($_GET['drop']);
}
if (input::get('dress')) {