Core/Scripts: Implemented 2 new target selectors, one specialized for spells, checking auras, range and attributes; and the other is a very simple non-tank selection what is sufficient for most cases
This commit is contained in:
@@ -1255,8 +1255,8 @@ class Unit : public WorldObject
|
||||
void ClearDiminishings() { m_Diminishing.clear(); }
|
||||
|
||||
// target dependent range checks
|
||||
float GetSpellMaxRangeForTarget(Unit* target, SpellInfo const* spellInfo);
|
||||
float GetSpellMinRangeForTarget(Unit* target, SpellInfo const* spellInfo);
|
||||
float GetSpellMaxRangeForTarget(Unit const* target, SpellInfo const* spellInfo) const;
|
||||
float GetSpellMinRangeForTarget(Unit const* target, SpellInfo const* spellInfo) const;
|
||||
|
||||
virtual void Update(uint32 time);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user