PDA

Просмотр полной версии : [9089] Check explicit target correctness by all effect target modes.


newsbot
31.12.2009, 15:40
<pre>m src/game/Spell.cpp
m src/shared/revision_nr.h

[9089] Check explicit target correctness by all effect target modes.

All effect target modes start from client provided target data
so all its must be used for checking explicit target modes.
For example exist spells that have as first effect SELF non-explicit target mode.
but in same time negative to explicit target.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add caching IsHostileTo/IsFriendlyTo for avoid recall this not fast functions.</pre>



Дальше... (http://github.com/mangos/mangos/commit/d3581f703a55b7efd705fa84d5642f0d30efb85e)