PDA

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


newsbot
07.01.2018, 05:14
Автор: 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.

(based on cmangos/mangos-wotlk@4c06c7f7e)

Signed-off-by: Xfurry <xfurry.cmangos@outlook.com></pre>


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