AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Private Member Functions | |
PrepareSpellScript (spell_putricide_ooze_channel) | |
bool | Validate (SpellInfo const *spell) override |
bool | Load () override |
void | SelectTarget (std::list< WorldObject * > &targets) |
void | SetTarget (std::list< WorldObject * > &targets) |
void | StartAttack () |
void | Register () override |
Private Attributes | |
WorldObject * | _target |
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References _target, SpellScript::GetCaster(), Object::GetTypeId(), and TYPEID_UNIT.
|
private |
|
inlineoverrideprivatevirtual |
Implements _SpellScript.
References SpellScript::AfterHit, EFFECT_0, EFFECT_1, EFFECT_2, SpellScript::OnObjectAreaTargetSelect, SelectTarget(), SetTarget(), SpellHitFn, SpellObjectAreaTargetSelectFn, StartAttack(), and TARGET_UNIT_SRC_AREA_ENEMY.
|
inlineprivate |
References _target, Creature::DespawnOrUnsummon(), SpellScript::FinishCast(), SpellScript::GetCaster(), Acore::Containers::SelectRandomContainerElement(), SPELL_FAILED_NO_VALID_TARGETS, SPELL_GASEOUS_BLOAT_PROTECTION, SPELL_VOLATILE_OOZE_PROTECTION, and Object::ToCreature().
Referenced by Register().
|
inlineprivate |
References _target.
Referenced by Register().
|
inlineprivate |
References Unit::AddThreat(), Creature::AI(), UnitAI::AttackStart(), ThreatMgr::ClearAllThreat(), Unit::ClearUnitState(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), Unit::GetThreatMgr(), Creature::SetInCombatWithZone(), Object::ToCreature(), and UNIT_STATE_CASTING.
Referenced by Register().
|
inlineoverrideprivatevirtual |
Reimplemented from _SpellScript.
References SpellInfo::ExcludeTargetAuraSpell, and _SpellScript::ValidateSpellInfo().
|
private |
Referenced by Load(), SelectTarget(), and SetTarget().