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

12 lines
325 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if( $itm['magic_inci'] == 'antidot' ) {
mysql_query('DELETE FROM `laba_act` WHERE `uid` = "'.$u->info['id'].'" AND `vars` = "trap1"');
$u->error = 'Âû èñöåëèëèñü îò ÿäîâ...';
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
}
?>