[svn] Add SpellExtraInfoMap. Currently support:

Limited-number-of-players spell; shared damage spell; target-in-line cone spell (e.g. dark glare).
Change angle of cone spells from 120 degree to 60 degree.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-10-25 15:46:52 -05:00
parent 6fc23ef45e
commit 55c25d894e
8 changed files with 146 additions and 24 deletions
+1
View File
@@ -1095,6 +1095,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
bool isInFront(Unit const* target,float distance, float arc = M_PI) const;
void SetInFront(Unit const* target);
bool isInBack(Unit const* target, float distance, float arc = M_PI) const;
bool isInLine(Unit const* target, float distance) const;
// Visibility system
UnitVisibility GetVisibility() const { return m_Visibility; }