X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fhavocbot%2Frole_onslaught.qc;fp=qcsrc%2Fserver%2Fbot%2Fhavocbot%2Frole_onslaught.qc;h=3ae7379be757278c00478a55b39854b410027096;hb=3a264e945a45a04f4566feb9e9a91e0d5266361e;hp=61b6e205c4a0922cd3e94fdfe3be33ebbeab4b34;hpb=3846c9bd40c2b3c1aa220c1eeef9198b1912aab4;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/havocbot/role_onslaught.qc b/qcsrc/server/bot/havocbot/role_onslaught.qc index 61b6e205c..3ae7379be 100644 --- a/qcsrc/server/bot/havocbot/role_onslaught.qc +++ b/qcsrc/server/bot/havocbot/role_onslaught.qc @@ -67,7 +67,7 @@ void havocbot_goalrating_ons_offenseitems(float ratingscale, vector org, float s } head = head.chain; } -}; +} void havocbot_role_ons_setrole(entity bot, float role) { @@ -94,7 +94,7 @@ void havocbot_role_ons_setrole(entity bot, float role) break; } dprint("\n"); -}; +} float havocbot_ons_teamcount(entity bot, float role) { @@ -107,7 +107,7 @@ float havocbot_ons_teamcount(entity bot, float role) ++c; return c; -}; +} void havocbot_goalrating_ons_controlpoints_attack(float ratingscale) { @@ -231,7 +231,7 @@ void havocbot_goalrating_ons_controlpoints_attack(float ratingscale) if not(found) navigation_routerating(cp, ratingscale, 10000); } -}; +} float havocbot_goalrating_ons_generator_attack(float ratingscale) { @@ -286,7 +286,7 @@ float havocbot_goalrating_ons_generator_attack(float ratingscale) } } return FALSE; -}; +} void havocbot_role_ons_offense() { @@ -321,17 +321,17 @@ void havocbot_role_ons_offense() self.bot_strategytime = time + autocvar_bot_ai_strategyinterval; } -}; +} void havocbot_role_ons_assistant() { havocbot_ons_reset_role(self); -}; +} void havocbot_role_ons_defense() { havocbot_ons_reset_role(self); -}; +} void havocbot_ons_reset_role(entity bot) { @@ -358,9 +358,9 @@ void havocbot_ons_reset_role(entity bot) } havocbot_role_ons_setrole(bot, HAVOCBOT_ONS_ROLE_OFFENSE); -}; +} void havocbot_chooserole_ons() { havocbot_ons_reset_role(self); -}; +}