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

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>Âû óñïåøíî èñïîëüçîâàëè ïðèåì &quot;Îãðàíè÷åííûé ìàíåâð&quot; íà &quot;'.$btl->users[$btl->uids[$u->info['enemy']]]['login'].'&quot;</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);
?>