#include <UnitAI.h>
- Todo:
- Add more checks from Spell::CheckCast
SpellTargetSelector::SpellTargetSelector |
( |
Unit * |
caster, |
|
|
uint32 |
spellId |
|
) |
| |
Unit const * _caster
Definition: UnitAI.h:100
#define sSpellMgr
Definition: SpellMgr.h:756
#define ASSERT
Definition: Errors.h:55
SpellInfo const * _spellInfo
Definition: UnitAI.h:101
bool SpellTargetSelector::operator() |
( |
Unit const * |
target | ) |
const |
281 if (target && target !=
_caster)
bool IsWithinCombatRange(const Unit *obj, float dist2compare) const
Definition: Unit.cpp:492
float GetSpellMinRangeForTarget(Unit const *target, SpellInfo const *spellInfo) const
Definition: Unit.cpp:11239
uint32 Flags
Definition: DB2Structure.h:1280
Unit const * _caster
Definition: UnitAI.h:100
SpellCastResult CheckTarget(Unit const *caster, WorldObject const *target, bool implicit=true) const
Definition: SpellInfo.cpp:1875
SpellRangeEntry const * RangeEntry
Definition: SpellInfo.h:379
uint32_t uint32
Definition: Define.h:150
bool IsWithinMeleeRange(const Unit *obj, float dist=MELEE_RANGE) const
Definition: Unit.cpp:508
SpellInfo const * _spellInfo
Definition: UnitAI.h:101
float GetSpellMaxRangeForTarget(Unit const *target, SpellInfo const *spellInfo) const
Definition: Unit.cpp:11228
Definition: SharedDefines.h:1538
The documentation for this struct was generated from the following files: