PDA

Просмотр полной версии : [13961] New cooldown system


newsbot
01.09.2017, 00:42
Автор: cyberium


<pre style='white-space:pre-wrap;width:81ex'>[13961] New cooldown system

The purpose of this is to unify all entities cooldown. With this change cd***39;s are handled almost same way for all of them.
I also took that opportunity to fix some issues and add some features.
- now items will overwrite category spell at adding and at checking time.
- category cd can live without spell cd and vice versa.
- saving category and category time to keep correct track of the cd.
- removed the workaround to identify permanent cd.
- lockout can now be applied to creatures.
- added a command to show the list of active cd
- added a command to clear active cd only client side (can help for debug)
- added a command to clear active cd "arena way" (only cd < 10 min)

cd and gcd are now applied to creatures too. However it seem that they rarely use spell that have those cd. This have to be confirmed.

As always we***39;ll all be happy of any comment about this.</pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/bfdda591570af6f625ef052a0d90f608e68abaef)