game/_incl_data/class/magic/anti_yad.php

22 lines
540 B
PHP
Raw Normal View History

2023-03-31 18:42:06 +00:00
<?php
2022-06-06 21:30:34 +00:00
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") ');
2023-01-10 16:29:32 +00:00
$u->error = 'Вы исцелились от ядов...';
2022-06-06 21:30:34 +00:00
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
}
?>