newsbot
26.10.2017, 16:31
Автор: Warlockbugs
<pre style='white-space:pre-wrap;width:81ex'>Civilian flag misunderstanding crisis resolution
* CREATURE_EXTRA_FLAG_CIVILIAN renamed to CREATURE_EXTRA_FLAG_NO_AGGRO_ON_SIGHT
* Introduced new CREATURE_EXTRA_FLAG_CIVILIAN as a substitute for classic CreatureInfo->civilian
* Introduced Creature::IsNoAggroOnSight() getter for the mentioned flag
* AI functionality responsible for aggro moved from creature->IsCivilian() to creature->IsNoAggroOnSight()
* Classic: Introduce usage of Unit::IsCivilianForTarget() for DHK
ATTENTION: Additional actions required for DBs in new expansions: fill in CreatureInfo->civilian from classic DB as new extra flag.</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/8ecd77a568b9f2601972cbaa4fa40acc2a84c57e)
<pre style='white-space:pre-wrap;width:81ex'>Civilian flag misunderstanding crisis resolution
* CREATURE_EXTRA_FLAG_CIVILIAN renamed to CREATURE_EXTRA_FLAG_NO_AGGRO_ON_SIGHT
* Introduced new CREATURE_EXTRA_FLAG_CIVILIAN as a substitute for classic CreatureInfo->civilian
* Introduced Creature::IsNoAggroOnSight() getter for the mentioned flag
* AI functionality responsible for aggro moved from creature->IsCivilian() to creature->IsNoAggroOnSight()
* Classic: Introduce usage of Unit::IsCivilianForTarget() for DHK
ATTENTION: Additional actions required for DBs in new expansions: fill in CreatureInfo->civilian from classic DB as new extra flag.</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/8ecd77a568b9f2601972cbaa4fa40acc2a84c57e)