[MOD][Core] Set Rate.AttackSpeed / Rate.CooldownSpeed / Rate.CastingSpeed


This patch sets a modifier for Rate.AttackSpeed to speed up base attacks globally on the server. This is my first contribution so forgive any mistakes.

In WorldServer.conf add the following:

Rate.AttackSpeed = (float 1 = normal, 2 = 200% faster etc.)



I have created a more extensive patch which include the rates of casting and cooldowns.

Rate.AttackSpeed = (float 1 = normal, 2 = 200% faster etc.)
Rate.CooldownSpeed = (float 1 = normal, 2 = 200% faster etc.)
Rate.CastingSpeed = (float 1 = normal, 2 = 200% faster etc.)

Bear in mind the casting and cooldown speeds are client-sided as well so to make them faster than the default a custom MPQ removing the cast and cooldown speed need to be applied. Can I link to a patch here admin?

Anyway here is the patch to apply. Apology any mistakes this is in alpha and needs further testing with all spell variants.



Would love to see this updated to work with latest master 7.3.2 please :slight_smile:

I think it has a bug or two. Ranged attacks don’t produce a cooldown packet message. When I get time I will update the code, atm I’m working on the core.

Kind regards,