Bots will try to place Drop Targets on turns

Also a bit more Banana-like
This commit is contained in:
Sally Coolatta 2022-11-27 04:26:47 -05:00
parent 4b5681b5d5
commit 9b439297b0

View file

@ -994,6 +994,12 @@ static void K_BotItemDropTarget(player_t *player, ticcmd_t *cmd)
player->botvars.itemconfirm++; 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); target = K_PlayerInCone(player, radius, 15, false);
if (target != NULL) if (target != NULL)
{ {