]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/w_hook.qc
make some guns able to be "excessive"
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / w_hook.qc
index 32892d5558b5e6862848740296b7e47a2a6b2050..754ffff909bf1a90a75976f115e86d70f8c9bef5 100644 (file)
@@ -143,7 +143,7 @@ float w_hook(float req)
                if(self.hook)
                {
                        // if hooked, no bombs, and increase the timer
-                       self.hook_refire = max(self.hook_refire, time + autocvar_g_balance_hook_primary_refire);
+                       self.hook_refire = max(self.hook_refire, time + autocvar_g_balance_hook_primary_refire * W_WeaponRateFactor());
 
                        // hook also inhibits health regeneration, but only for 1 second
                        if not(self.items & IT_UNLIMITED_WEAPON_AMMO)