Bots treat Drop Target more like Banana than Orbi

Fire with smaller threshold, and forcefully when banana-drag goes into effect. Fixes them holding it for absolutely way too long and making their gameplay worse.
This commit is contained in:
Sally Coolatta 2022-11-27 03:29:00 -05:00
parent 1ca522044b
commit b1b77e9496

View file

@ -943,7 +943,7 @@ static void K_BotItemDropTarget(player_t *player, ticcmd_t *cmd)
cmd->buttons |= BT_LOOKBACK;
}
if (player->botvars.itemconfirm > 25*TICRATE)
if (player->botvars.itemconfirm > 10*TICRATE || player->bananadrag >= TICRATE)
{
K_BotGenericPressItem(player, cmd, throwdir);
}