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

SEE LATEST POST FOR MORE ADVANCED VERSION!

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.)

https://gist.github.com/Langerz82/cef1a47f3df94d956787d1ec08744d28

[ATTACH]2286._xfImport[/ATTACH]

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.

https://gist.github.com/Langerz82/f4051dd992a368001e168bb410f430b9

[ATTACH]2287._xfImport[/ATTACH]

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,