game/_incl_data/class/priems/moment2.php

15 lines
540 B
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?
if(!defined('GAME'))
{
die();
}
if($pl['id'] == 223) {
2023-01-10 16:29:32 +00:00
//Рывок
2022-06-06 21:30:34 +00:00
$btl->users[$btl->uids[$u->info['id']]]['tactic1'] += 3;
$btl->stats[$btl->uids[$u->info['id']]]['tactic1'] = $btl->users[$btl->uids[$u->info['id']]]['tactic1'];
$u->stats['tactic1'] = $btl->users[$btl->uids[$u->info['id']]]['tactic1'];
$u->info['tactic1'] = $btl->users[$btl->uids[$u->info['id']]]['tactic1'];
mysql_query('UPDATE `stats` SET `tactic1` = "'.$btl->users[$btl->uids[$u->info['id']]]['tactic1'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
}
?>