|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | FilterTargets (std::list< WorldObject * > &targets) |
| void | FilterTargetsSubsequently (std::list< WorldObject * > &targets) |
| void | HandleScript (SpellEffIndex) |
| bool | Load () OVERRIDE |
| PrepareSpellScript (spell_pursue_SpellScript) | |
| void | Register () OVERRIDE |
Private Attributes | |
| WorldObject * | _target |
Definition at line 1633 of file boss_flame_leviathan.cpp.
|
inlineprivate |
In the end, only one target should be selected
Definition at line 1643 of file boss_flame_leviathan.cpp.
References _target, FilterTargetsSubsequently(), SpellScript::GetCaster(), and Skyfire::Containers::SelectRandomContainerElement().
Referenced by Register().
|
inlineprivate |
Definition at line 1659 of file boss_flame_leviathan.cpp.
References _target.
Referenced by FilterTargets(), and Register().
|
inlineprivate |
Definition at line 1666 of file boss_flame_leviathan.cpp.
References Creature::AI(), UnitAI::AttackStart(), EMOTE_PURSUE, SpellScript::GetCaster(), SpellScript::GetHitUnit(), Unit::GetVehicleKit(), IS_PLAYER_GUID(), Vehicle::Seats, sObjectAccessor, CreatureAI::Talk(), and Object::ToCreature().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 1637 of file boss_flame_leviathan.cpp.
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 1684 of file boss_flame_leviathan.cpp.
References EFFECT_0, EFFECT_1, FilterTargets(), FilterTargetsSubsequently(), HandleScript(), SpellScript::OnEffectHitTarget, SpellScript::OnObjectAreaTargetSelect, OVERRIDE, SPELL_EFFECT_APPLY_AURA, SpellEffectFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ENEMY.
|
private |
Definition at line 1691 of file boss_flame_leviathan.cpp.
Referenced by FilterTargets(), FilterTargetsSubsequently(), and Load().