From ce2607cc7491e18b3229e1e24dc2929c894fb2bc Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 16 Oct 2018 00:22:00 +1000 Subject: [PATCH 1/1] Divide the attack rate by the maximum weapon slots instead of halving it --- qcsrc/server/weapons/weaponsystem.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/weapons/weaponsystem.qc b/qcsrc/server/weapons/weaponsystem.qc index 52a1934e5d..c4b91b3b39 100644 --- a/qcsrc/server/weapons/weaponsystem.qc +++ b/qcsrc/server/weapons/weaponsystem.qc @@ -335,7 +335,7 @@ void weapon_prepareattack_do(entity actor, .entity weaponentity, bool secondary, continue; // still cooling down! if (ATTACK_FINISHED(actor, wepslot) < time - actor.(wepent).weapon_frametime * 1.5) ATTACK_FINISHED(actor, wepslot) = time; - ATTACK_FINISHED(actor, wepslot) = ATTACK_FINISHED(actor, wepslot) + (attacktime * arate) * 0.5; + ATTACK_FINISHED(actor, wepslot) = ATTACK_FINISHED(actor, wepslot) + (attacktime * arate) / MAX_WEAPONSLOTS; } } } -- 2.39.2