[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user