]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bot AI: increase rating of items in Keyhunt so bots don't ignore them after keys...
authorterencehill <piuntn@gmail.com>
Sun, 10 Nov 2019 10:22:03 +0000 (11:22 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 10 Nov 2019 10:22:03 +0000 (11:22 +0100)
qcsrc/common/gamemodes/gamemode/keyhunt/sv_keyhunt.qc

index 21d9208bf96b74746cbb7f35c074b2a5f228ad27..1240ee4975596e185a0759ba24f1bc72316499af 100644 (file)
@@ -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)