2023-03-31 18:42:06 +00:00
|
|
|
<?php
|
2022-06-06 21:30:34 +00:00
|
|
|
if(!defined('GAME')) { die(); }
|
|
|
|
$u->info['hpNow'] = $u->stats['hpAll'];
|
|
|
|
$u->info['mpNow'] = $u->stats['mpAll'];
|
|
|
|
mysql_query('UPDATE `stats` set `hpNow` = "'.$u->info['hpNow'].'",`mpNow` = "'.$u->info['mpNow'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
|
|
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
|
2023-01-10 16:29:32 +00:00
|
|
|
$u->error = 'Вы успешно восстановили '.$u->info['hpNow'].' ХП / '.$u->info['mpNow'].' MP';
|
2022-06-06 21:30:34 +00:00
|
|
|
?>
|