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

22 lines
519 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if( $itm['magic_inci'] == 'anti_yad' ) {
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'"
AND (`id_eff` = "427" OR
`id_eff` = "428"OR
`id_eff` = "429" OR
`id_eff` = "430" OR
`id_eff` = "431" OR
`id_eff` = "432" OR
`id_eff` = "433" OR
`id_eff` = "434" OR
`id_eff` = "435" OR
`id_eff` = "436") ');
$u->error = 'Âû èñöåëèëèñü îò ÿäîâ...';
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
}
?>