PDA

Просмотр полной версии : [12446] Implement CONDITION_DEAD_OR_AWAY


newsbot
08.04.2013, 00:31
Автор: Schmoozerd


<pre>m src/game/ObjectMgr.cpp
m src/game/ObjectMgr.h
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12446] Implement CONDITION_DEAD_OR_AWAY

Usage of value1:
* 0: return true if player is dead (or NULL)
* 1: return true if all members of player's group is dead (or no player)
* 2: return true if all players in an instance are dead
* 3: return true if the source-creature is dead
Usage of value2:
if value2 is provided, then this is taken as range. if the player is outside of this range the condition returns true as well</pre>


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