PDA

Просмотр полной версии : Implement CONDITION_SPAWN_COUNT and CREATURE_EXTRA_FLAG_COUNT_SPAWNS


newsbot
10.10.2017, 18:52
Автор: killerwife


<pre style='white-space:pre-wrap;width:81ex'>Implement CONDITION_SPAWN_COUNT and CREATURE_EXTRA_FLAG_COUNT_SPAWNS

If one wants to use this new condition type, extra flag has to be set.
Reason: The extra flag can be used for generic counting of objects. It can be used in SD2 without having to add complex logic.
As a result the condition is only one of the uses for the extra flag. Also its not feasible to count all objects, because it would slow down whole server.</pre>


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