2022-06-06 21:30:34 +00:00
< ?
if ( ! defined ( 'GAME' )) {
die ();
}
/*
2023-01-10 16:29:32 +00:00
Прием : Ограниченный маневр
2022-06-06 21:30:34 +00:00
*/
$pvr = array ();
if ( isset ( $btl -> users [ $btl -> uids [ $u -> info [ 'enemy' ]]][ 'login' ])) {
2023-01-10 16:29:32 +00:00
echo '<font color=red><b>Вы успешно использовали прием "Ограниченный маневр" на "' . $btl -> users [ $btl -> uids [ $u -> info [ 'enemy' ]]][ 'login' ] . '"</b></font>' ;
2022-06-06 21:30:34 +00:00
mysql_query ( 'UPDATE `stats` SET `smena` = 0 WHERE `id` = "' . mysql_real_escape_string ( $u -> info [ 'id' ]) . '" LIMIT 1' );
2023-01-10 16:29:32 +00:00
$btl -> priemAddLogFast ( $u -> info [ 'id' ], $u -> info [ 'enemy' ], " Ограниченный маневр " ,
'{tm1} ' . $btl -> addlt ( 1 , 17 , $btl -> users [ $btl -> uids [ $uid ]][ 'sex' ] , NULL ) . ' на {u2}.' ,
2022-06-06 21:30:34 +00:00
1 , time () );
}
unset ( $pvr );
?>