spell_deathbringer_blood_nova_targeting::spell_deathbringer_blood_nova_targeting_SpellScript::spell_deathbringer_blood_nova_targeting_SpellScript |
( |
| ) |
|
|
inline |
WorldObject * target
Definition: boss_deathbringer_saurfang.cpp:1253
void spell_deathbringer_blood_nova_targeting::spell_deathbringer_blood_nova_targeting_SpellScript::FilterTargetsInitial |
( |
std::list< WorldObject * > & |
targets | ) |
|
|
inlineprivate |
1207 if (targets.empty())
1211 uint32 targetsAtRange = 0;
1216 for (std::list<WorldObject*>::iterator itr = targets.begin(); itr != targets.end(); ++itr, ++targetsAtRange)
1217 if ((*itr)->GetDistance(
GetCaster()) < 12.0f)
1221 if (targetsAtRange < minTargets)
1222 targetsAtRange =
uint32(targets.size());
1224 std::list<WorldObject*>::const_iterator itr = targets.begin();
1228 targets.push_back(
target);
void advance(octet_iterator &it, distance_type n, octet_iterator end)
Definition: checked.h:190
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
uint32_t uint32
Definition: Define.h:150
WorldObject * target
Definition: boss_deathbringer_saurfang.cpp:1253
Unit * GetCaster()
Definition: SpellScript.cpp:394
uint32_t uint32
Definition: g3dmath.h:168
void spell_deathbringer_blood_nova_targeting::spell_deathbringer_blood_nova_targeting_SpellScript::FilterTargetsSubsequent |
( |
std::list< WorldObject * > & |
unitList | ) |
|
|
inlineprivate |
1238 unitList.push_back(
target);
WorldObject * target
Definition: boss_deathbringer_saurfang.cpp:1253
void spell_deathbringer_blood_nova_targeting::spell_deathbringer_blood_nova_targeting_SpellScript::HandleForceCast |
( |
SpellEffIndex |
| ) |
|
|
inlineprivate |
Will ignore most target checks (mostly DBC target checks)
Definition: Unit.h:479
Unit * GetCaster()
Definition: SpellScript.cpp:394
Unit * GetHitUnit()
Definition: SpellScript.cpp:441
int32 GetEffectValue() const
Definition: SpellScript.cpp:600
uint32_t uint32
Definition: g3dmath.h:168
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
void spell_deathbringer_blood_nova_targeting::spell_deathbringer_blood_nova_targeting_SpellScript::Register |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
Definition: SpellScript.h:310
Definition: SharedDefines.h:29
Definition: SharedDefines.h:28
#define SpellObjectAreaTargetSelectFn(F, I, N)
Definition: SpellScript.h:311
Definition: SharedDefines.h:1885
#define SpellEffectFn(F, I, N)
Definition: SpellScript.h:297
void FilterTargetsSubsequent(std::list< WorldObject * > &unitList)
Definition: boss_deathbringer_saurfang.cpp:1232
void FilterTargetsInitial(std::list< WorldObject * > &targets)
Definition: boss_deathbringer_saurfang.cpp:1205
HookList< EffectHandler > OnEffectHitTarget
Definition: SpellScript.h:295
void HandleForceCast(SpellEffIndex)
Definition: boss_deathbringer_saurfang.cpp:1241
Definition: SharedDefines.h:1150
WorldObject* spell_deathbringer_blood_nova_targeting::spell_deathbringer_blood_nova_targeting_SpellScript::target |
|
private |
The documentation for this class was generated from the following file: