[svn] Spell target selection improvement. Remove most mangos hacks in spell target selection. (work almost done)

Merge mangos svn rev 6744.

--HG--
branch : trunk
This commit is contained in:
megamage
2008-10-31 11:04:32 -05:00
parent daec9868d9
commit 67b86d636b
9 changed files with 159 additions and 121 deletions
-13
View File
@@ -361,18 +361,5 @@ class TRINITY_DLL_SPEC PersistentAreaAura : public Aura
void Update(uint32 diff);
};
class TRINITY_DLL_SPEC SingleEnemyTargetAura : public Aura
{
friend Aura* CreateAura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, Unit *caster, Item* castItem);
public:
~SingleEnemyTargetAura();
Unit* GetTriggerTarget() const;
protected:
SingleEnemyTargetAura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, Unit *caster = NULL, Item* castItem = NULL);
uint64 m_casters_target_guid;
};
Aura* CreateAura(SpellEntry const* spellproto, uint32 eff, int32 *currentBasePoints, Unit *target, Unit *caster = NULL, Item* castItem = NULL);
#endif