Core/Spells: Cleanup in Spell.h:
- Codestyle (fix function naming) and cleanup changes in SpellCastTargets class, also access variables of this class by getters/setters - Move IsQuestTameSpell function to SpellMgr.h - Move UnitList typedef to Unit.h Additionally - add missing copyright notice to SpellAuraEffects.h
This commit is contained in:
@@ -261,7 +261,9 @@ class SpellScript : public _SpellScript
|
||||
// accessors to the "focus" targets of the spell
|
||||
// note: do not confuse these with spell hit targets
|
||||
// returns: WorldLocation which was selected as a spell destination or NULL
|
||||
WorldLocation* GetTargetDest();
|
||||
WorldLocation const* GetTargetDest();
|
||||
|
||||
void SetTargetDest(WorldLocation& loc);
|
||||
|
||||
// returns: Unit which was selected as a spell target or NULL
|
||||
Unit* GetTargetUnit();
|
||||
|
||||
Reference in New Issue
Block a user