[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.
This commit is contained in:
NetSky 2009-12-31 15:14:06 +03:00 committed by VladimirMangos
parent 375aedd611
commit 9a6c248dec
2 changed files with 48 additions and 12 deletions

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9088"
#define REVISION_NR "9089"
#endif // __REVISION_NR_H__