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

15 lines
618 B
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');
}
?>