game/_incl_data/class/magic/metka.php
2022-06-07 00:30:34 +03:00

12 lines
283 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if($itm['magic_inci']=='metka') {
$u->deleteItem($itm['id']);
mysql_query('UPDATE `stats` SET `atack` = "'.(time()+3600).'" WHERE `id` = "'.$usr['id'].'" LIMIT 1');
$u->error = 'Âû íàëîæèëè "×åðíóþ ìåòêó" íà ïåðñîíàæà '.$usr['login'].'!';
}
?>