game/_incl_data/class/Magic/p_gusenic.php
2023-08-11 18:28:54 +03:00

15 lines
643 B
PHP

<?php
if(!defined('GAME'))
{
die();
}
if( $itm['magic_inci'] == 'p_gusenic' ) {
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = "400"');
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = "402"');
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = "403"');
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `id_eff` = "404"');
$u->error = 'Вы исцелились от болезней...';
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
}
?>