game/_incl_data/class/magic/antidot.php

12 lines
346 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'] == 'antidot' ) {
mysql_query('DELETE FROM `laba_act` WHERE `uid` = "'.$u->info['id'].'" AND `vars` = "trap1"');
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');
}
?>