From: terencehill Date: Sun, 10 Nov 2019 10:22:03 +0000 (+0100) Subject: Bot AI: increase rating of items in Keyhunt so bots don't ignore them after keys... X-Git-Tag: xonotic-v0.8.5~1228 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7d1a2721462d82b1fbb718f68e0451485d28e282;p=xonotic%2Fxonotic-data.pk3dir.git Bot AI: increase rating of items in Keyhunt so bots don't ignore them after keys are assigned --- diff --git a/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc b/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc index 21d9208bf..1240ee497 100644 --- a/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc +++ b/qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc @@ -1037,7 +1037,7 @@ void havocbot_goalrating_kh(entity this, float ratingscale_team, float ratingsca navigation_routerating(this, head.owner, ratingscale_enemy * 10000, 100000); } - havocbot_goalrating_items(this, 1, this.origin, 10000); + havocbot_goalrating_items(this, 80000, this.origin, 10000); } void havocbot_role_kh_carrier(entity this)