mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Bots will try to place Drop Targets on turns
Also a bit more Banana-like
This commit is contained in:
parent
4b5681b5d5
commit
9b439297b0
1 changed files with 6 additions and 0 deletions
|
|
@ -994,6 +994,12 @@ static void K_BotItemDropTarget(player_t *player, ticcmd_t *cmd)
|
|||
|
||||
player->botvars.itemconfirm++;
|
||||
|
||||
if (abs(turnamt) >= KART_FULLTURN/2)
|
||||
{
|
||||
player->botvars.itemconfirm += player->botvars.difficulty / 2;
|
||||
throwdir = -1;
|
||||
}
|
||||
|
||||
target = K_PlayerInCone(player, radius, 15, false);
|
||||
if (target != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue