From: Mircea Kitsune Date: Sat, 12 Feb 2011 00:27:39 +0000 (+0200) Subject: Bot skill level 2 for reloading in-hand weapon. Makes more sense X-Git-Tag: xonotic-v0.5.0~309^2~7^2~22 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d0dde76730a904a620ca05fa35a1af95489c4c1f;p=xonotic%2Fxonotic-data.pk3dir.git Bot skill level 2 for reloading in-hand weapon. Makes more sense --- diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index 7c7392085..f7853a575 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -153,7 +153,7 @@ void havocbot_ai() entity e; // we are currently holding a weapon that's not fully loaded, reload it - if(skill > 2.5) // bots can only reload held weapons on purpose past this skill + if(skill >= 2) // bots can only reload held weapons on purpose past this skill if(self.clip_load < self.clip_size && self.weapon) self.impulse = 20; // "press" the reload button, not sure if this is done right