|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Private Member Functions | |
| void | KnockBarrage (SpellEffIndex effIndex) |
| PrepareSpellScript (spell_alysrazor_turn_monstrosity_SpellScript) | |
| void | Register () OVERRIDE |
| void | TurnBird (SpellEffIndex effIndex) |
| bool | Validate (SpellInfo const *) OVERRIDE |
Definition at line 525 of file boss_alysrazor.cpp.
|
inlineprivate |
Definition at line 544 of file boss_alysrazor.cpp.
References Unit::AddUnitState(), Unit::CastSpell(), SpellScript::GetCaster(), SpellScript::GetHitUnit(), Unit::GetMotionMaster(), SpellScript::GetSpellInfo(), M_PI, MotionMaster::MoveIdle(), SpellScript::PreventHitDefaultEffect(), Unit::SetFacingTo(), Position::SetOrientation(), SPELL_GENERIC_DUMMY_CAST, SPELL_HEAD_BONK_L, SPELL_HEAD_BONK_R, SPELL_KNOCKBACK_BACK, SPELL_KNOCKBACK_FORWARD, SPELL_KNOCKBACK_LEFT, SPELL_KNOCKBACK_RIGHT, SPELL_LEFT_SIDE_SMACK_L, SPELL_LEFT_SIDE_SMACK_R, SPELL_RIGHT_SIDE_SMACK_L, SPELL_RIGHT_SIDE_SMACK_R, SPELL_TICKLE_L, SPELL_TICKLE_R, TRIGGERED_FULL_MASK, and UNIT_STATE_CANNOT_TURN.
Referenced by Register().
|
private |
|
inlineprivatevirtual |
Implements _SpellScript.
Definition at line 596 of file boss_alysrazor.cpp.
References EFFECT_0, EFFECT_1, KnockBarrage(), SpellScript::OnEffectHitTarget, OVERRIDE, SPELL_EFFECT_SCRIPT_EFFECT, SpellEffectFn, and TurnBird().
|
inlineprivate |
Definition at line 590 of file boss_alysrazor.cpp.
References ANIM_KIT_BIRD_TURN, SpellScript::GetHitUnit(), Unit::PlayOneShotAnimKit(), and SpellScript::PreventHitDefaultEffect().
Referenced by Register().
|
inlineprivatevirtual |
Reimplemented from _SpellScript.
Definition at line 529 of file boss_alysrazor.cpp.
References OVERRIDE, SPELL_GENERIC_DUMMY_CAST, SPELL_KNOCKBACK_BACK, SPELL_KNOCKBACK_FORWARD, SPELL_KNOCKBACK_LEFT, SPELL_KNOCKBACK_RIGHT, and sSpellMgr.