]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/base.qh
Add a new mutator hook to handle weapon speed (projectiles etc)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / base.qh
index 7d36af08e30fb61f35b14a4953c66e3bc8fb0385..199cb62fb7bcca7a448db4b3eb64b179e9020a3e 100644 (file)
@@ -111,6 +111,11 @@ MUTATOR_HOOKABLE(WeaponRateFactor);
        // INPUT, OUTPUT:
                float weapon_rate;
 
+MUTATOR_HOOKABLE(WeaponSpeedFactor);
+       // allows changing weapon speed (projectiles mostly)
+       // INPUT, OUTPUT:
+               //float ret_float;
+
 MUTATOR_HOOKABLE(SetStartItems);
        // adjusts {warmup_}start_{items,weapons,ammo_{cells,plasma,rockets,nails,shells,fuel}}