|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_putricide_ooze_channel_SpellScript) | |
| void | Register () OVERRIDE |
| void | SelectTarget (std::list< WorldObject * > &targets) |
| void | SetTarget (std::list< WorldObject * > &targets) |
| void | StartAttack () |
| bool | Validate (SpellInfo const *spell) OVERRIDE |
Private Attributes | |
| WorldObject * | _target |
Definition at line 844 of file boss_professor_putricide.cpp.
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 859 of file boss_professor_putricide.cpp.
References _target, SpellScript::GetCaster(), Object::GetTypeId(), OVERRIDE, and TYPEID_UNIT.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 895 of file boss_professor_putricide.cpp.
References SpellScript::AfterHit, EFFECT_0, EFFECT_1, EFFECT_2, SpellScript::OnObjectAreaTargetSelect, OVERRIDE, SelectTarget(), SetTarget(), SpellHitFn, SpellObjectAreaTargetSelectFn, StartAttack(), and TARGET_UNIT_SRC_AREA_ENEMY.
|
inlineprivate |
Definition at line 865 of file boss_professor_putricide.cpp.
References _target, Creature::DespawnOrUnsummon(), SpellScript::FinishCast(), SpellScript::GetCaster(), Skyfire::Containers::SelectRandomContainerElement(), SPELL_FAILED_NO_VALID_TARGETS, and Object::ToCreature().
Referenced by Register().
|
inlineprivate |
Definition at line 880 of file boss_professor_putricide.cpp.
References _target.
Referenced by Register().
|
inlineprivate |
Definition at line 887 of file boss_professor_putricide.cpp.
References Unit::AddThreat(), Creature::AI(), UnitAI::AttackStart(), Unit::ClearUnitState(), Unit::DeleteThreatList(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), Object::ToCreature(), and UNIT_STATE_CASTING.
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 848 of file boss_professor_putricide.cpp.
|
private |
Definition at line 903 of file boss_professor_putricide.cpp.
Referenced by Load(), SelectTarget(), and SetTarget().