*Fix the bug that totem only apply one auraeffect on target.

*Fix the bug that players can get aura when out of range of totem.
*Use caster to check enemy/ally state and spell bonus. Use source to check distance.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-24 00:05:17 -05:00
parent 0f2ac46d87
commit 73770d7354
2 changed files with 56 additions and 31 deletions
+2
View File
@@ -166,6 +166,8 @@ class TRINITY_DLL_SPEC Aura
bool m_isRemoved:1;
bool m_updated:1; // Prevent remove aura by stack if set
bool m_isSingleTargetAura:1; // true if it's a single target spell and registered at caster - can change at spell steal for example
bool IsVisible() const;
};
class TRINITY_DLL_SPEC AuraEffect