2023-03-31 18:42:06 +00:00
|
|
|
<?php
|
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($pr_momental_this)) {
|
|
|
|
|
|
|
|
}elseif( isset($pr_tested_this) ) {
|
|
|
|
|
|
|
|
}elseif( isset($pr_used_this) ) {
|
|
|
|
|
|
|
|
}else{
|
2023-01-10 16:29:32 +00:00
|
|
|
//Действие при клике
|
|
|
|
$btl->priemAddLogFast( $u->info['id'], 0, "Круговая Защита",
|
2022-06-06 21:30:34 +00:00
|
|
|
'{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL).'',
|
|
|
|
0, time() );
|
|
|
|
//
|
|
|
|
mysql_query('INSERT INTO `battle_actions` (`btl`,`uid`,`time`,`vars`,`vals`) VALUES (
|
2024-01-06 15:30:34 +00:00
|
|
|
"'.$btl->i->id.'","'.$u->info['id'].'","'.time().'","use_defteam'.$u->info['team'].'","1"
|
2022-06-06 21:30:34 +00:00
|
|
|
)');
|
|
|
|
//
|
|
|
|
$this->mintr($pl);
|
|
|
|
}
|
|
|
|
unset($pvr);
|
|
|
|
?>
|