![]() |
TrinityCore
|
Inheritance diagram for spell_ymiron_the_fallen_king_bane_periodic_AuraScript:Private Member Functions | |
| void | CalcPeriodic (AuraEffect const *, bool &, int32 &litude) |
| void | SpawnBaneOrb (int8 tickNumber) |
| void | OnAfterApply (AuraEffect const *, AuraEffectHandleModes) |
| void | OnPeriodic (AuraEffect const *aurEff) |
| void | OnAfterRemove (AuraEffect const *, AuraEffectHandleModes) |
| void | Register () override |
Private Attributes | |
| std::array< float, BANE_MAX_TOTAL_TICKS *2 > | _angles = { } |
| std::array< float, BANE_MAX_TOTAL_TICKS *2 > | _distances = { } |
Static Private Attributes | |
| static constexpr float | BANE_MISSILE_DIST_OFFSET = 2.272f |
| static constexpr float | BANE_MISSILE_DIST_BASE = 10.0f |
| static constexpr float | BANE_MISSILE_ANGLE_OFFSET = 0.75f |
| static constexpr std::size_t | BANE_MAX_TOTAL_TICKS = 4 + 4 + 14 |
Definition at line 468 of file boss_ymiron_the_fallen_king.cpp.
|
inlineprivate |
Definition at line 476 of file boss_ymiron_the_fallen_king.cpp.
References AuraScript::GetCaster(), WorldObject::GetMap(), IN_MILLISECONDS, Map::IsMythic(), and Map::IsMythicPlus().
Referenced by Register().
|
inlineprivate |
Definition at line 496 of file boss_ymiron_the_fallen_king.cpp.
References _angles, _distances, BANE_MAX_TOTAL_TICKS, BANE_MISSILE_ANGLE_OFFSET, BANE_MISSILE_DIST_BASE, BANE_MISSILE_DIST_OFFSET, AuraScript::GetCaster(), Position::NormalizeOrientation(), and Trinity::Containers::RandomShuffle().
Referenced by Register().
|
inlineprivate |
Definition at line 523 of file boss_ymiron_the_fallen_king.cpp.
References WorldObject::CastSpell(), AuraScript::GetTarget(), and SPELL_ARISE_FALLEN_ENABLER.
Referenced by Register().
|
inlineprivate |
Definition at line 512 of file boss_ymiron_the_fallen_king.cpp.
References AuraScript::GetTarget(), AuraEffect::GetTickNumber(), and SpawnBaneOrb().
Referenced by Register().
|
inlineoverrideprivatevirtual |
Implements SpellScriptBase.
Definition at line 528 of file boss_ymiron_the_fallen_king.cpp.
References AuraScript::AfterEffectApply, AuraScript::AfterEffectRemove, AURA_EFFECT_HANDLE_REAL, AuraEffectApplyFn, AuraEffectCalcPeriodicFn, AuraEffectPeriodicFn, AuraEffectRemoveFn, CalcPeriodic(), AuraScript::DoEffectCalcPeriodic, EFFECT_0, OnAfterApply(), OnAfterRemove(), AuraScript::OnEffectPeriodic, OnPeriodic(), and SPELL_AURA_PERIODIC_DUMMY.
|
inlineprivate |
Definition at line 488 of file boss_ymiron_the_fallen_king.cpp.
References _angles, _distances, WorldObject::CastSpell(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), AuraScript::GetTarget(), and SPELL_BANE_MISSILE.
Referenced by OnPeriodic().
|
private |
Definition at line 537 of file boss_ymiron_the_fallen_king.cpp.
Referenced by OnAfterApply(), and SpawnBaneOrb().
|
private |
Definition at line 538 of file boss_ymiron_the_fallen_king.cpp.
Referenced by OnAfterApply(), and SpawnBaneOrb().
|
staticconstexprprivate |
Definition at line 474 of file boss_ymiron_the_fallen_king.cpp.
Referenced by OnAfterApply().
|
staticconstexprprivate |
Definition at line 472 of file boss_ymiron_the_fallen_king.cpp.
Referenced by OnAfterApply().
|
staticconstexprprivate |
Definition at line 471 of file boss_ymiron_the_fallen_king.cpp.
Referenced by OnAfterApply().
|
staticconstexprprivate |
Definition at line 470 of file boss_ymiron_the_fallen_king.cpp.
Referenced by OnAfterApply().