17 lines
642 B
PHP
17 lines
642 B
PHP
<?
|
|
if(!defined('GAME')) {
|
|
die();
|
|
}
|
|
/*
|
|
Ïðèåì: Îãðàíè÷åííûé ìàíåâð
|
|
*/
|
|
$pvr = array();
|
|
if(isset($btl->users[$btl->uids[$u->info['enemy']]]['login'])) {
|
|
echo '<font color=red><b>Âû óñïåøíî èñïîëüçîâàëè ïðèåì "Îãðàíè÷åííûé ìàíåâð" íà "'.$btl->users[$btl->uids[$u->info['enemy']]]['login'].'"</b></font>';
|
|
mysql_query('UPDATE `stats` SET `smena` = 0 WHERE `id` = "'.mysql_real_escape_string($u->info['id']).'" LIMIT 1');
|
|
$btl->priemAddLogFast( $u->info['id'], $u->info['enemy'], "Îãðàíè÷åííûé ìàíåâð",
|
|
'{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$uid]]['sex'] , NULL).' íà {u2}.',
|
|
1, time() );
|
|
}
|
|
unset($pvr);
|
|
?>
|